Exemplo n.º 1
0
 // Constructor
 public Person(int id, string firstName, string lastName, string gender, DateTime dateOfBirth, string phoneNumber, string birthPlace, bool isGraduated)
 {
     this.id          = id;
     this.firstName   = firstName;
     this.lastName    = lastName;
     this.gender      = gender;
     this.dateOfBirth = dateOfBirth;
     this.phoneNumber = phoneNumber;
     this.birthPlace  = birthPlace;
     this.isGraduated = IsGraduated;
 }
Exemplo n.º 2
0
 public Member(int id, string firstName, string lastName, Gender gender, DateTime dateOfBirth, string phoneNumber, string birthPlace, IsGraduated isGraduated, DateTime startDate, DateTime endDate)
     : base(id, firstName, lastName, gender, dateOfBirth, phoneNumber, birthPlace, isGraduated)
 {
     this.startDate = startDate;
     this.endDate   = endDate;
 }