Exemplo n.º 1
0
        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
        }
Exemplo n.º 2
0
        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();
        }
Exemplo n.º 3
0
        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();
        }
Exemplo n.º 4
0
        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();
        }