public bool IsOlderThan(Student other) { DateTime firstDate = Student.GetBirthDate(this.OtherInfo); DateTime secondDate = Student.GetBirthDate(other.OtherInfo); return(firstDate < secondDate); }
public bool IsOlderThan(Student other) { DateTime firstDate = this.GetBirthDate(); DateTime secondDate = other.GetBirthDate(); return(firstDate > secondDate); }
public bool IsOlderThan(Student other) { DateTime firstDate = this.GetBirthDate(); DateTime secondDate = other.GetBirthDate(); return firstDate > secondDate; }