コード例 #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));
        }