Which of the following statements are correct about exception handling in C#.NET? 1. If our program does not catch an exception then the .NET CLR catches it. 2. It is possible to create user-defined exceptions. 3. All types of exceptions can be caught using the Exception class. 4. CLRExceptions is the base class for all exception classes. 5. For every try block there must be a corresponding finally block.

- Online Exam Test Papers | - MCQs[multiple choice questions and answers ] | - Mock Test Papers | - Practice Papers | - Sample Test Papers |

Question:
Which of the following statements are correct about exception handling in C#.NET?

1. If our program does not catch an exception then the .NET CLR catches it.
2. It is possible to create user-defined exceptions.
3. All types of exceptions can be caught using the Exception class.
4. CLRExceptions is the base class for all exception classes.
5. For every try block there must be a corresponding finally block.

1.1 and 2 only

2.1,2 and 3 only

3.4 and 5 only

4. All of the above


More MCQS Questions and answers

R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!