public override int GetHashCode() { unchecked { return(((StationIdentifier != null ? StationIdentifier.GetHashCode() : 0) * 397) ^ Year); } }
public int CompareTo(StationYear other) { int compareTo; if ((compareTo = StationIdentifier.CompareTo(other.StationIdentifier)) != 0) { return(compareTo); } if ((compareTo = Year.CompareTo(other.Year)) != 0) { return(compareTo); } return(0); }