public override int GetHashCode() { int hash = X.GetHashCode(); hash = hash * 31 + Y.GetHashCode(); return hash; } }