public override int GetHashCode() { unchecked { var hashCode = Day.GetHashCode(); hashCode = (hashCode * 397) ^ Min.GetHashCode(); hashCode = (hashCode * 397) ^ Max.GetHashCode(); hashCode = (hashCode * 397) ^ Night.GetHashCode(); hashCode = (hashCode * 397) ^ Eve.GetHashCode(); hashCode = (hashCode * 397) ^ Morn.GetHashCode(); return(hashCode); } }
protected bool Equals(Temp other) { return(Day.Equals(other.Day) && Min.Equals(other.Min) && Max.Equals(other.Max) && Night.Equals(other.Night) && Eve.Equals(other.Eve) && Morn.Equals(other.Morn)); }