static void Main()
        {
            HostApplication app = new HostApplication();

            app.Run();
            Console.WriteLine("Press <ENTER> to terminate the host application.");
            Console.Read();
        }
示例#2
0
        static void Main()
        {
            HostApplication app = new HostApplication();

            try
            {
                app.Run();
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex);
                Console.Read();
            }
        }
示例#3
0
        static void Main()
        {
            HostApplication app = new HostApplication();

            app.Run();
        }