GetHashCode() { return(NameFirst.GetHashCode() ^ NameLast.GetHashCode() ^ Dob.GetHashCode() ^ IsMarried.GetHashCode()); }
public override int GetHashCode() { var hashCode = 907988741; hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Name); hashCode = hashCode * -1521134295 + Dob.GetHashCode(); hashCode = hashCode * -1521134295 + EyeColor.GetHashCode(); return(hashCode); }