difference between Trace and Debug ?
Answer Posted / chauhan rakesh botad
Trace and Debug classes :
Fortunately, you do not have to step through an application
line by line to figure out what is happening.
The Systems.Diagnostics namespace includes Trace and Debug
classes.
These two classes (which are essentially identical) include
a number of static methods that can be used to cause your
code to gather information about code-execution paths, code
coverage, and even performance profiling. Both classes also
provide an Assert method that checks for a condition and
displays a message if the condition is false.
Tracing : Tracing is actually the process of collecting
information about the program's execution.
Debug : Debugging is the process of finding & fixing errors
in our program.
Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What kind of data can be stored in viewstate?
What are the different types of sessions in asp.net?
How information about the user's locale can be accessed?
What is the difference between an htmlinputcheckbox control and an htmlinputradiobutton control?
What is an axd file?
What is bson in web api?
Dataset is the disconnected environment. suppose if you are binding records to gridview (disconnected environment) and you are making changes to the the grid but before updating the database if any other user modify the data, how will you avoid such problem?
Do you know about caching with the datasource controls?
What is applicatio domain?
Explain the difference between page.registerclientscriptblock and page.registerstartupscript?
How many validators do ASP.NET have?
What is aspect-oriented programming?
What are uri parameters?
What do you mean by serialize and marshalbyref?
Define repository pattern in mvc.net? : asp.net mvc