예제 #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();
        }