public override int GetHashCode() { var hashCode = 999451561; hashCode = hashCode * -1521134295 + SideA.GetHashCode(); hashCode = hashCode * -1521134295 + SideB.GetHashCode(); return(hashCode); }
public override int GetHashCode() { int prime = 37; int hash = 1; hash = prime * hash + SideA.GetHashCode(); hash = prime * hash + SideB.GetHashCode(); return(hash); }
/// <summary> /// /// </summary> /// <returns></returns> public override int GetHashCode() { return(SideA.GetHashCode() ^ SideB.GetHashCode() ^ SideC.GetHashCode() ^ AngleA.GetHashCode() ^ AngleB.GetHashCode() ^ AngleC.GetHashCode()); }
public override int GetHashCode() { return(SideA.GetHashCode() + SideB.GetHashCode()); }
/// <summary> /// Get a hash code for the current object. /// </summary> /// <returns></returns> public override int GetHashCode() { return(3 * SideA.GetHashCode() + 2 * SideB.GetHashCode() - 2 * SideC.GetHashCode()); }