protected int FindCardIndex(Card card) { for (int i = 0; i < this.cards.Count; ++i) { if (this.cards[i] == card) return i; } return -1; }