SharpMap.Geometries.Polygon.GetHashCode C# (CSharp) Method

GetHashCode() public method

Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
public GetHashCode ( ) : int
return int
        public override int GetHashCode()
        {
            int hash = ExteriorRing.GetHashCode(); ;
            for (int i = 0; i < InteriorRings.Count; i++)
                hash = hash ^ InteriorRings[i].GetHashCode();
            return hash;
        }