예제 #1
0
파일: Program.cs 프로젝트: Alvek/Braincad
        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
        }
예제 #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();
        }
예제 #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();
        }
예제 #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();
        }