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 are the main differences between asp and asp.net?
What is manifest in .net framework?
What are the features that make asp.net more used framework? : asp.net mvc
Explain form level validation and field level validation?
What is the difference between viewstate and hidden field in asp.net?
What is a 401 redirect?
Is asp.net and .net same?
How do you remove duplicates without using remove duplicate stage?
Explain significance of routing? : asp.net mvc
What are sessions used for?
How many types of validation are there?
Where session variables are stored?
What is web api vs wcf?
When maintaining session through sql server, what is the impact of read and write operation on session objects?
What is an example of an application service provider?