Monday, April 30, 2012

nikhil kansal What’s the difference between the Debug class and Trace class?


The Debug class to provide information about the program execution You can also use the Trace class to produce messages that monitor the execution of an application. The Trace and Debug classes share most of the same methods to produce output, including the following: •WriteLine •WriteLineIf •Indent •Unindent •Assert •Flush You can use the Trace and the Debug classes separately or together in the same application. In a Debug Solution Configuration project, both Trace and Debug output are active.

1 comment: