Пример #1
0
 public override int GetHashCode()
 {
     return(Numer.GetHashCode() ^ Denom.GetHashCode());
 }
Пример #2
0
 public override int GetHashCode() => base.GetHashCode() ^ Numer.GetHashCode() ^ Denom.GetHashCode();