Game Development Reference
In-Depth Information
private int age;
private Color hairColor;
private Color eyeColor;
private Gender gender;
// Employee Information
private int employeeId;
private Position position;
private bool probationary;
public PersonnelRecord()
{
firstName = String.Empty;
lastName = String.Empty;
phoneNumber = String.Empty;
email = String.Empty;
birthDate = new DateTime();
age = 0;
gender = Gender.Unspecified;
employeeId = 0;
position = Position.Unspecified;
probationary = true;
}
[CategoryAttribute(“Contact Information”),
DescriptionAttribute(“First name of the employee.”),
PropertyOrder(0)]
public string FirstName
{
get { return firstName; }
set { firstName = value; }
}
[CategoryAttribute(“Contact Information”),
DescriptionAttribute(“Last name of the employee.”),
PropertyOrder(1)]
public string LastName
{
get { return lastName; }
set { lastName = value; }
}
Search Nedrilad ::




Custom Search