Vidyalelo
C# Programming · Q21

Exception Handling in C Sharp

Programming · C# Programming · question 21

Q21

In C#, what happens if an exception occurs inside a catch block?

A.
The exception is caught and handled by the same block
Answer
B.
The program terminates
C.
The exception propagates to the calling method
D.
The catch block is skipped

Answer: Option A

Solution

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