Q38
What is the purpose of the try-catch block in C#?
A.
To handle exceptions that may occur in a block of code
AnswerB.
To throw exceptions
C.
To declare custom exceptions
D.
To clean up resources in case of an exception
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board