Exemple #1
0
        private static void Main(string[] args)
        {
            Card     cardA    = new A("");
            Card     cardTwo  = new Two("");
            GoodCard goodCard = new GoodCard("小明");

            goodCard.Add(cardA);
            goodCard.Add(cardTwo);
            goodCard.PlayingCard();
            Console.ReadLine();
        }
Exemple #2
0
 private static void Main(string[] args)
 {
     Card cardA = new A("");
     Card cardTwo = new Two("");
     GoodCard goodCard = new GoodCard("小明");
     goodCard.Add(cardA);
     goodCard.Add(cardTwo);
     goodCard.PlayingCard();
     Console.ReadLine();
 }