示例#1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return((x.GetHashCode() * 397) ^ y.GetHashCode());
     }
 }
示例#2
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = x.GetHashCode();
         hashCode = (hashCode * 397) ^ y.GetHashCode();
         hashCode = (hashCode * 397) ^ z.GetHashCode();
         return(hashCode);
     }
 }