public bool Equals(ClockInfo other) { if (ReferenceEquals(this, other)) { return(true); } return(CityName.Equals(other.CityName) && TimeZoneId.Equals(other.TimeZoneId)); }