public int CompareTo(Card other) { int currentCompare = Color.CompareTo(other.Color); if (currentCompare != 0) { return(currentCompare); } return(Value.CompareTo(other.Value)); }