Helper class to combine hashcodes.
Beispiel #1
0
 /// <summary>
 /// Returns a hash code for this instance, which is suitable for use in hashing algorithms and data structures like a hash table.
 /// </summary>
 /// <returns>A hash code for the current object.</returns>
 public override int GetHashCode()
 {
     return(HashCode.Combine(m_x.GetHashCode(),
                             m_y.GetHashCode()));
 }