static void Main(string[] args) { CatchExceptionClass cec = new CatchExceptionClass(); cec.CatchExceptionMethod(); // 11) Make some unhandled exception and study Visual Studio debugger report – // read description and find the reason of exception }
static void Main(string[] args) { CatchExceptionClass cec = new CatchExceptionClass(); cec.CatchExceptionMethod(); // 11) Make some unhandled exception and study Visual Studio debugger report – // read description and find the reason of exception Console.ReadKey(); }
static void Main(string[] args) { CatchExceptionClass cec = new CatchExceptionClass(); //cec.CatchExceptionMethod(); // 11) Make some unhandled exception and study Visual Studio debugger report – // read description and find the reason of exception int[] arr1 = new[] { 1, 0, 8, 5 }; cec.CatchExceptionMethod(arr1); int[] arr2 = new int[3]; cec.CatchExceptionMethod(arr2); Console.ReadKey(); }
static void Main(string[] args) { CatchExceptionClass cec = new CatchExceptionClass(); cec.CatchExceptionMethod(); // 11) Make some unhandled exception and study Visual Studio debugger report – // read description and find the reason of exception // try // { // t(299999999); // } // catch (Exception e) // { // Console.WriteLine(e.Message); // } Console.ReadLine(); }