Exemple #1
0
 public override bool Equals(object obj)
 {
     if (obj is RoundData)
     {
         RoundData rd = (RoundData)obj;
         return(RoundName.Equals(rd.RoundName));
     }
     else if (obj is string)
     {
         return(RoundName.Equals(obj));
     }
     else
     {
         throw new NotImplementedException();
     }
 }
Exemple #2
0
 public override int GetHashCode()
 {
     return(RoundName.GetHashCode());
 }