static void Main() { HostApplication app = new HostApplication(); app.Run(); Console.WriteLine("Press <ENTER> to terminate the host application."); Console.Read(); }
static void Main() { HostApplication app = new HostApplication(); try { app.Run(); } catch (Exception ex) { Console.WriteLine(ex); Console.Read(); } }
static void Main() { HostApplication app = new HostApplication(); app.Run(); }