// 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; }
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; }