public static void Main(string[] args) { Define d = new Define(); d.DoDefine(); MyException e = new MyException(); e.DoException(); Console.Write("Press any key to continue . . . "); Console.ReadKey(true); }