/// <summary> /// Returns a hash code for this instance. /// </summary> /// <returns> /// A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. /// </returns> public override int GetHashCode() { return(Min.GetHashCode() ^ Q1.GetHashCode() ^ Median.GetHashCode() ^ Mean.GetHashCode() ^ Q3.GetHashCode() ^ Max.GetHashCode() ^ StdDev.GetHashCode() ^ N.GetHashCode()); }
public override int GetHashCode() { int hash = 1; if (Q1 != 0) { hash ^= Q1.GetHashCode(); } if (Q2 != 0) { hash ^= Q2.GetHashCode(); } return(hash); }
/// <summary> /// Returns a hash code for this instance. /// </summary> /// <returns> /// A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. /// </returns> public override int GetHashCode() { return(Q0.GetHashCode() ^ Q1.GetHashCode() ^ Q2.GetHashCode() ^ Q3.GetHashCode()); }
protected override int HashCode() { return(Key.GetHashCode() ^ ArtikleCode.GetHashCode() ^ ColorCode.GetHashCode() ^ Description.GetHashCode() ^ Price.GetHashCode() ^ DiscountPrice.GetHashCode() ^ DeliveredIn.GetHashCode() ^ Q1.GetHashCode() ^ Size.GetHashCode() ^ Color.GetHashCode()); }