Programming Languages C# Objective
Mar 07, 2013

Which statements are correct about exception handling in C#.NET?

Choose the correct answer:
A) try blocks cannot be nested.
B) In one function, there can be only one try block.
C) An exception must be caught in the same function in which it is thrown.
D) All values set up in the exception object are available in the catch block.
Detailed Explanation

Option D is the right answer.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback