Vidyalelo
C# Programming · Q35

Exception Handling in C Sharp

Programming · C# Programming · question 35

Q35

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

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board