static void Main(string[] args) { PropertyEdit app = new PropertyEdit(); try { app.DoAction(args); } catch (Exception e) { Console.WriteLine("Exception: " + e.Message); if (e.InnerException != null) { Console.WriteLine("Inner exception: " + e.InnerException.Message); } } }
static void Main(string[] args) { PropertyEdit app = new PropertyEdit(); try { app.DoAction(args); } catch (Exception e) { Console.WriteLine("Exception: " + e.Message); if (e.InnerException != null) { Console.WriteLine("Inner exception: " + e.InnerException.Message); } } if (Debugger.IsAttached) { Console.WriteLine(); Console.Write("Press any key to exit..."); Console.ReadKey(true); } }
static void Main(string[] args) { PropertyEdit app = new PropertyEdit(); try { app.DoAction(args); } catch (Exception e) { Console.WriteLine("Exception: " + e.Message); if (e.InnerException != null) { Console.WriteLine("Inner exception: " + e.InnerException.Message); } } if (Debugger.IsAttached) { Console.WriteLine(); Console.Write("Press any key to exit..."); Console.ReadKey(true); } }