using System; using System.Collections.Generic; using System.Reflection; using UniversalEditor.UserInterface; namespace UniversalEditor.ConsoleBootstrapper { class Program { /// /// The main entry point for the application. /// [STAThread] static void Main() { if (!Engine.Execute()) { ConsoleColor oldcolor = Console.ForegroundColor; Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine("ERROR: No engines are available to launch this application."); Console.ForegroundColor = oldcolor; Pause(); } } private static void Pause() { Console.Write("Press any key to continue . . . "); Console.ReadKey(true); } } }