Vidyalelo
C# Programming · Q19

Exception Handling in C Sharp

Programming · C# Programming · question 19

Q19

In C#, what is the method called on an exception object to retrieve information about the error that occurred?

A.
GetMessage()
B.
ToString()
Answer
C.
GetError()
D.
GetStackTrace()

Answer: Option B

Solution

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