Vidyalelo
C# Programming · Q15

Exception Handling in C Sharp

Programming · C# Programming · question 15

Q15

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

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