예제 #1
0
 public override int GetHashCode()
 {
     return(FirstName.GetHashCode() ^
            MiddleName.GetHashCode() ^
            LastName.GetHashCode() ^
            SSN.GetHashCode() ^
            PermanentAddress.GetHashCode() ^
            MobilePhoneNr.GetHashCode() ^
            Email.GetHashCode() ^
            Course.GetHashCode() ^
            Speciality.GetHashCode() ^
            University.GetHashCode() ^
            Faculty.GetHashCode());
 }
예제 #2
0
 public override int GetHashCode()
 {
     return(PersonalNumber.GetHashCode() ^ Billet.GetHashCode() ^
            ProficiencyCard.GetHashCode() ^ Speciality.GetHashCode() ^
            TeamMode.GetHashCode());
 }