コード例 #1
0
        static void Main(string[] args)
        {
            GetUserNameAndLocation();
            ChristmasCountdown();
            GlazerApp.RunExample();

            Console.WriteLine("Press any key to exit.");
            Console.ReadKey();
        }
コード例 #2
0
        static void Main(string[] args)
        {
            Program p = new Program();

            p.GetUserNameAndLocation();
            p.ChristmasCountdown(DateTime.Now);
            GlazerApp.RunExample();
            Console.Write("Press any key to exit...");
            Console.ReadKey();
        }
コード例 #3
0
        static void Main()
        {
            GetUserNameAndLocation();
            ChristmasCountdown(DateTime.Now);
            GlazerApp.RunExample();

            //promt the user before exiting the program
            Console.WriteLine("\nPress any key to end program...");
            Console.ReadKey();
        }