public bool Equals(Card other) { return(Suit.Equals(other.Suit) && Rank.Equals(other.Rank)); }
public Card(Suit suit, Rank rank) { Suit = suit; Rank = rank; }
public int CompareTo(Card other) { return(Suit.Equals(other.Suit) ? Rank.CompareTo(other.Rank) : Suit.CompareTo(other.Suit)); }