Created
February 17, 2014 03:19
-
-
Save mikecole/9044152 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 Person | |
{ | |
private string _firstName; | |
private string _lastName; | |
private int _age; | |
public string FirstName | |
{ | |
get | |
{ | |
return _firstName; | |
} | |
set | |
{ | |
_firstName = value; | |
} | |
} | |
public string LastName | |
{ | |
get | |
{ | |
return _lastName; | |
} | |
set | |
{ | |
_lastName = value; | |
} | |
} | |
public int Age | |
{ | |
get | |
{ | |
return _age; | |
} | |
set | |
{ | |
_age = value; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment