public override int GetHashCode() { unchecked { var hashCode = (Country != null ? StringComparer.OrdinalIgnoreCase.GetHashCode(Country) : 0); hashCode = (hashCode * 397) ^ MonthOld.GetHashCode(); hashCode = (hashCode * 397) ^ MonthUsdOld.GetHashCode(); hashCode = (hashCode * 397) ^ MonthCountOld.GetHashCode(); hashCode = (hashCode * 397) ^ YearOld.GetHashCode(); hashCode = (hashCode * 397) ^ YearUsdOld.GetHashCode(); hashCode = (hashCode * 397) ^ YearCountOld.GetHashCode(); hashCode = (hashCode * 397) ^ MonthToday.GetHashCode(); hashCode = (hashCode * 397) ^ MonthUsdToday.GetHashCode(); hashCode = (hashCode * 397) ^ MonthCountToday.GetHashCode(); hashCode = (hashCode * 397) ^ YearToday.GetHashCode(); hashCode = (hashCode * 397) ^ YearUsdToday.GetHashCode(); hashCode = (hashCode * 397) ^ YearCountToday.GetHashCode(); return(hashCode); } }