public override bool Equals(object obj) { if (!(obj is PointLatLng)) { return(false); } PointLatLng tf = (PointLatLng)obj; return(((tf.Lng == this.Lng) && (tf.Lat == this.Lat)) && tf.GetType().Equals(base.GetType())); }
public override bool Equals(object obj) { if (!(obj is PointLatLng)) { return(false); } PointLatLng tf = (PointLatLng)obj; return(tf.Lng == Lng && tf.Lat == Lat && tf.GetType().Equals(GetType())); }