示例#1
0
        static void Main(string[] args)
        {
            CountryController cc = new CountryController();

            cc.WelcomeAction();
            while (true)
            {
                Console.WriteLine();
                Console.WriteLine("Would you like to learn about another country?");
                string answer = Console.ReadLine().ToLower().Trim();
                if (answer == "y")
                {
                    Console.WriteLine();
                    cc.WelcomeAction();
                }
                else if (answer == "n")
                {
                    Console.WriteLine();
                    Console.WriteLine("Goodbye");
                    break;
                }
            }
        }
示例#2
0
        static void Main(string[] args)
        {
            CountryController cc = new CountryController();

            cc.CountryMenu();
        }
示例#3
0
        static void Main(string[] args)
        {
            CountryController myLiege = new CountryController();

            myLiege.WelcomeAction();
        }
示例#4
0
        static void Main(string[] args)
        {
            CountryController cc = new CountryController();

            cc.WelcomeAction();
        }