Exemplo n.º 1
0
 public int GetHashCode(Season obj)
 {
     //return (obj.SeasonYear + obj.SeasonNumber).GetHashCode();
     return(obj.GetHashCode());
 }
Exemplo n.º 2
0
 public bool Equals(Season x, Season y)
 {
     return(x.Year.Equals(y.Year) &&
            x.Number.Equals(y.Number));
 }