예제 #1
0
        static void Main(string[] args)
        {
            string            willContinue = "y";
            CountryController cc           = new CountryController();

            do
            {
                cc.WelcomeAction();
                Console.WriteLine("\n" +
                                  "Would you like to select another country?\n" +
                                  "");
                willContinue = Console.ReadLine().ToLower();
                Console.Clear();
            } while (willContinue == "y");



            Console.WriteLine("Have a great day!");
        }
예제 #2
0
        static void Main(string[] args)
        {
            CountryController countryController = new CountryController();

            countryController.WelcomeAction();
        }