public override int GetHashCode() { unchecked { int result = 14; result = 29 * result + Ime.GetHashCode(); result = 29 * result + Prezime.GetHashCode(); return(result); } }
public override int GetHashCode() { unchecked { int result = 14; result = 29 * result + Ime.GetHashCode(); result = 29 * result + Prezime.GetHashCode(); if (!string.IsNullOrEmpty(SrednjeIme)) { result = 29 * result + SrednjeIme.GetHashCode(); } if (DatumRodjenja != null) { result = 29 * result + DatumRodjenja.GetHashCode(); } return(result); } }
public override int GetHashCode() { return(Id.GetHashCode() ^ Ime.GetHashCode() ^ Prezime.GetHashCode()); }