difference between Trace and Debug ?
Answer Posted / leela mohan
The system.Diagnostics namespace contains the Debug and
Trace classes that include shared methods.
The diffetrnce between these two classes is in the way
Trace and Debug statements are treated at the of creating a
release bulid.
Trace statements are included by default when the program
is compiled in to release build,where as debug statements
are not.The Debug class is used for debugging,however, the
Trace class is used for testing and optimization even after
an application is compiled and released.
| Is This Answer Correct ? | 33 Yes | 8 No |
Post New Answer View All Answers
Explain about Application and Session Events ?
How to reduce the width of textbox in editcommandcolumn of datagrid?
How can you handle exceptions in asp.net?
What's the use of formatters in .net?
What are the navigation ways between pages available in ASP.NET?
What are the security types in ASP/ASP.NET? Different Authentication modes?
Where is the view state data stored?
Describe state management in asp.net?
What is session start?
What is IPostBack? How to use it?
Explain the difference between value type and reference type?
What is session mode in asp.net?
What are app services?
What is the function used for removing an event listener?
Explain the difference between singleton and single call?