Beispiel #1
0
 /// <summary>
 ///
 /// </summary>
 /// <returns></returns>
 public override int GetHashCode()
 {
     return(SideA.GetHashCode() ^ SideB.GetHashCode() ^ SideC.GetHashCode() ^ AngleA.GetHashCode() ^ AngleB.GetHashCode() ^ AngleC.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());
 }