Examveda

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

A. To clean up resources in case of an exception

B. To define custom exceptions

C. To throw the exception

D. To handle and process the exception

Answer: Option D


Join The Discussion

Related Questions on Exception Handling in C Sharp