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 the difference between adding reference in solution explorer and adding references by using ?
What is preprocessor in .net? Where it use?
What would be salary for 8+ years of experience in ASP.NET in different metro city in india?
What is the purpose of session management?
What is the importance of aspnet_isapi.dll, inetinfo.exe andaspnet_wp.exe in the page loading process.
How is session id generated?
How to create a db connection at one place/page so that we can use that connection for all pages/forms/windows.what r the steps ned to be performed if question not clear,let me know
Can asp.net work on an nt server?
Why session is necessary in web application?
What do you mean by authentication?
How you will improve web application performance?
How does asp page work?
What is difference between singleton and single call?
To wrap up a call to a Web service the standard used is..?
How can u deifne the benefits and limitation of using Viewstate for state management?