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(); } }
public override int GetHashCode() { return(RoundName.GetHashCode()); }