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 does postback mean?
Is asp.net different from asp? If yes, explain how?
1.can we add connection string in global.asax?????????? 2.what are the default files included when we create new web application????
Explain global assembly cache.
What is the procedure to create the environment for asp.net? : asp.net mvc
What does the hotspot class in .net do?
What is csrf attack in asp.net?
How do I use response redirect?
What is the namespace to create thread in .net?
How you will manage the state of ASP.NET controls?
Explain the difference between server.transfer and response.redirect? Why would I choose one over the other?
What is tracing? Where is it used?
Briefly describe the role of global.asax?
Which Is Faster MVC or ASP.net ?
What are url fragments?