Example #1
0
        static void Main(string[] args)
        {
            bool runAgain = true;

            while (runAgain)
            {
                CountryController cc = new CountryController()
                {
                };
                cc.WelcomeAction();

                runAgain = RunProgramAgain();
            }
        }
Example #2
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!");
        }
Example #3
0
        static void Main(string[] args)
        {
            CountryController countryController = new CountryController();

            countryController.WelcomeAction();
        }