public override string ToString() { StringBuilder ret = new StringBuilder(); ret.Append("CardCollection " + name + " (CC TYPE: " + type.ToString() + ")\r\n"); if (cards.Count == 0) { ret.Append("|CardCollection is empty|\r\n"); } foreach (Card card in cards) { ret.Append(card.ToString() + "\r\n"); } return(ret.ToString()); }
public override string ToString() { return(owner.ToString()); }