Examveda

What is the purpose of the finally block in C# exception handling?

A. To execute cleanup code regardless of whether an exception occurs or not

B. To handle specific types of exceptions

C. To define custom exceptions

D. To propagate exceptions

Answer: Option A


Join The Discussion

Related Questions on Exception Handling in C Sharp