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
What is difference between viewstate and session in asp net?
What is Bundling and Minification in MVC?
How will create assesblies at run time?
How will you load dynamic assembly? How will create assesblies at run time?
What is difference between asp state management and asp.net state management?
What is difference between session and cookies in asp net?
Why do we need master page in asp.net?
What are triggers of an updatepanel?
What is active web pages?
Differentiate globalization and localization.
What are the Types of state management techniques
Where would you use an ihttpmodule, and what are the limitations if any?
Which is faster viewbag or viewdata?
What are the 3 types of web?
What does clearing cache?