public bool Equals(TournMatch other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(Equals(Player1, other.Player1) && Equals(Player2, other.Player2) && Round == other.Round); }
public int CompareTo(object obj) { TournMatch match = (TournMatch)obj; return(DBId.CompareTo(match.DBId)); }