Examveda

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

A. GetMessage()

B. ToString()

C. GetError()

D. GetStackTrace()

Answer: Option B


Join The Discussion

Related Questions on Exception Handling in C Sharp