Ejemplo n.º 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = PointA.GetHashCode();
         hashCode = (hashCode * 397) ^ PointB.GetHashCode();
         hashCode = (hashCode * 397) ^ PointC.GetHashCode();
         hashCode = (hashCode * 397) ^ PointD.GetHashCode();
         return(hashCode);
     }
 }
Ejemplo n.º 2
0
 public override int GetHashCode()
 {
     return(PointA.GetHashCode() + PointB.GetHashCode() + PointC.GetHashCode());
 }