summary refs log tree commit diff
path: root/customer_maintenance/CustomerMaintenance/Customer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'customer_maintenance/CustomerMaintenance/Customer.cs')
-rw-r--r--customer_maintenance/CustomerMaintenance/Customer.cs23
1 files changed, 23 insertions, 0 deletions
diff --git a/customer_maintenance/CustomerMaintenance/Customer.cs b/customer_maintenance/CustomerMaintenance/Customer.cs
new file mode 100644
index 0000000..138b469
--- /dev/null
+++ b/customer_maintenance/CustomerMaintenance/Customer.cs
@@ -0,0 +1,23 @@
+using System;

+using System.Collections.Generic;

+using System.Text;

+

+namespace CustomerMaintenance

+{

+	public class Customer

+	{

+		public string FirstName{get; set;}

+		public string LastName{get; set;}

+		public string Email{get; set;}

+

+		public Customer(string firstName = "", string lastName = "",

+			string email = "") =>

+			(this.FirstName, this.LastName, this.Email)

+				= (firstName, lastName, email);

+

+		public string GetDisplayText() {

+			return FirstName + " " + LastName

+				+ ", " + Email;

+		}

+	}

+}