Vidyalelo
C# Programming · Q18

Exception Handling in C Sharp

Programming · C# Programming · question 18

Q18

Which of the following statements about exceptions in C# is true?

A.
Exceptions cannot be caught at all
B.
Exceptions can only be caught in the finally block
C.
Exceptions can be caught in any block of code
Answer
D.
Exceptions can only be caught in the main method

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board