public override int GetHashCode() { unchecked { var hashCode = (payments != null ? payments.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (FName != null ? FName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (MName != null ? MName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (LName != null ? LName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (EGN != null ? EGN.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Address != null ? Address.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (MPhone != null ? MPhone.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Email != null ? Email.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (int)Type; return(hashCode); } }
public override int GetHashCode() { if (FName == null) { if (LName == null) { return(0); } else { return(LName.GetHashCode()); } } else if (LName == null) { return(FName.GetHashCode()); } else { return(FName.GetHashCode() ^ LName.GetHashCode()); } }
public override int GetHashCode() { return(keyName.GetHashCode()); }
override public int GetHashCode() { return(FName.GetHashCode() + LName.GetHashCode() + Studies.GetHashCode() + Id.GetHashCode() + BirthDate.GetHashCode() + Email.GetHashCode() + MothersName.GetHashCode() + FathersName.GetHashCode()); }
public override int GetHashCode() { return(FName.GetHashCode() * 31 + (Input?.GetHashCode() ?? 0)); }