Q12
In C#, what is the purpose of the try block in exception handling?
A.
To catch an exception
B.
To execute code that must always run
C.
To clean up resources
D.
To enclose the code that might throw an exception
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board