Exemple #1
0
 public void addCard( Card card )
 {
     if ( this.index < this.cards.Length) {
         this.cards[this.index++] = card;
     }
 }
Exemple #2
0
 private static void testCard()
 {
     Console.WriteLine("# testCard");
     Card card = new Card(CardRank.King, CardSuit.Hearts);
     Console.WriteLine(card);
 }