Beispiel #1
0
 public override bool Equals(object obj)
 {
     return(DZ11.IsTwoObjectIsEqualsByName <Teacher, Teacher>(this, (Teacher)obj) &&
            this.Department == ((Teacher)obj).Department &&
            this.Degree == ((Teacher)obj).Degree);
 }
Beispiel #2
0
 public override bool Equals(object obj)
 {
     return(DZ11.IsTwoObjectIsEqualsByName <HeadOfDepartment, HeadOfDepartment>(this, (HeadOfDepartment)obj) &&
            this.Department == ((HeadOfDepartment)obj).Department &&
            this.Degree == ((HeadOfDepartment)obj).Degree);
 }
Beispiel #3
0
 public override bool Equals(Object obj)
 {
     return(DZ11.IsTwoObjectIsEqualsByName <Student, Student>(this, (Student)obj) &&
            this.Department == ((Student)obj).Department);
 }