Vidyalelo
C# Programming · Q25

Exception Handling in C Sharp

Programming · C# Programming · question 25

Q25

In C#, what happens if no catch block matches the exception type thrown in a try block?

A.
The program terminates
B.
The finally block is executed
C.
The finally block is skipped
D.
The exception is propagated to the calling method
Answer

Answer: Option D

Solution

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