示例#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();
        }
示例#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();
 }