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 virtual directory in asp.net?
What are the difference between function and stored procedure in .net programming language?
How will you load dynamic assembly? How will create assesblies at run time?
What is difference cookie and session?
What are the event handlers that can be included in the Global.asax file?
What are the server controls in asp.net?
Explain the advantages of caching?
How many types of session state management options available in asp.net?
What is the full form of asp.net?
Explain the Session state management options available with ASP.NET?
Explain an object, class and method.
Can you explain the importance of finalize method in .net?
What is the web.config file in asp?
Are cookies client side or server side?
What is session and cookies in asp.net?