示例#1
0
        public static void Main(string[] args)
        {
            Console.WriteLine("Type b to play Blackjack, p to play Poker, any other key to quit.");

            var userResponse = Console.ReadLine();

            switch (userResponse)
            {
            case "b":
                BlackjackGame.Play();
                break;

            case "p":
                PokerGame.Play();
                break;
            }
        }