Examveda

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

A. To clean up resources

B. To execute code that must always run

C. To enclose the code that might throw an exception

D. To catch an exception

Answer: Option C


Join The Discussion

Related Questions on Exception Handling in C Sharp