public bool Equals(Card other) { if (other == null) { return(false); } return(NumCard.Equals(other.NumCard)); }