Vidyalelo
C# Programming · Q20

Exception Handling in C Sharp

Programming · C# Programming · question 20

Q20

What is the purpose of the throw statement in C# exception handling?

A.
To catch an exception
B.
To suppress an exception
C.
To define custom exception classes
D.
To manually throw an exception
Answer

Answer: Option D

Solution

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