Question :

Your development team is working on a large scale .Net project that has multiple assemblies and code files. Before releasing the software as a Beta product, you and the team are testing classes and assemblies for bugs. Most methods have been programmed to just catch the exception without logging any information. You now want to change this so that information about the sequence of calls and the line number of the method where the exception occurred are logged.


Which property of the exception class should you use?

a. HelpLink
b. Message
c. InnerException
d. StackTrace

Answer : d


No comments:

Popular Posts