public override int GetHashCode() { int hash = ExteriorRing.GetHashCode(); ; for (int i = 0; i < InteriorRings.Count; i++) hash = hash ^ InteriorRings[i].GetHashCode(); return hash; }