Created
January 19, 2013 03:36
-
-
Save taylonr/4570631 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class User | |
{ | |
public string Email {get; set;} | |
public string FirstName {get; set;} | |
public string LastName {get; set;} | |
public string Password {get; set;} | |
public void User() | |
{ | |
} | |
public void User(string email) | |
{ | |
Email = email; | |
} | |
public void User(string email, string firstName, string lastName) | |
:this(email) | |
{ | |
FirstName = firstName; | |
LastName = lastName; | |
} | |
public void User(string email, string firstName, string lastName, string password) | |
: this(email, firstName, lastName) | |
{ | |
Password = password; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment