public override bool Equals(object obj) { var other = (CoordinatePair)obj; return(coordinates.Equals(other.coordinates)); }