public override int GetHashCode() { return(FirstName.GetHashCode() ^ MiddleName.GetHashCode() ^ LastName.GetHashCode() ^ Address.GetHashCode() ^ Email.GetHashCode() ^ MobilePhone.GetHashCode() ^ Ssn.GetHashCode()); }
public override int GetHashCode() { int prime = 31; int hash = 7; hash = prime * hash + Ssn.GetHashCode() + Code.GetHashCode() + StartTime.GetHashCode() + EndTime.GetHashCode(); return(hash); }
public override int GetHashCode() { int prime = 31; int hash = 7; hash = prime * hash + Ssn.GetHashCode(); return(hash); }
// Dictionaries and Hashsets use hash code to compare elements public override int GetHashCode() => Ssn.GetHashCode();
public override int GetHashCode() { return(FirstName.GetHashCode() ^ MiddleName.GetHashCode() ^ LastName.GetHashCode() ^ Ssn.GetHashCode() ^ PermanentAddress.GetHashCode() ^ Email.GetHashCode() ^ University.GetHashCode() ^ Faculty.GetHashCode() ^ Specialty.GetHashCode() ^ Curs.Nume.GetHashCode()); }
public override int GetHashCode() { return(Name.GetHashCode() ^ Ssn.GetHashCode()); }
public override int GetHashCode() { return(FirstName.GetHashCode() ^ LastName.GetHashCode() ^ Ssn.GetHashCode()); }