예제 #1
0
        public override int GetHashCode()
        {
            CoordinateComparer comparer = new CoordinateComparer();

            return(comparer.GetHashCode(this));
        }
예제 #2
0
        public override bool Equals(object obj)
        {
            CoordinateComparer comparer = new CoordinateComparer();

            return(comparer.Equals(this, (Coordinate)obj));
        }