You work as the application developer at Certkiller .com. You are developing a debug build of an existingapplication. You want to locate a specific line of code which resulted in the exception occurring.
Choose the property of the Exception class that you should use to accomplish the task.
A. Data property
B. Message property
C. StackTrace property
D. Source property
Answer: C
Explanation: The StackTrace property provides a listing of the current call stack.
Information such as the method calls and line numbers are shown.
Data will return additional user-defined information about the exception Message describes the current exception but will not give details about the source code line number.
Source represents the name of the application or object that caused the error.
Comments