Buy Questpond's video subscriptions on
huge discount
.
Online: 3292
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Interviews
>
ASP.NET
>
Loading ...
What is difference between Trace and Debug?
Posted by
Raja
on 4/12/2008 | Category:
ASP.NET Interview questions
| Views: 36191
Post
|
Interview FAQs
|
Exclusive Questions
|
Interview Home
Answer:
Use Debug class to debug builds
Use Trace class for both debug and release builds.
Asked In:
Many interviews |
Alert Moderator
Bookmark It
< Previous :
Difference between DataSet and DataReader
Next > :
What is ASP.NET 2.0 Page Life Cycle?
Comments or Responses
Posted by:
Sampath041
on: 3/30/2009
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.
Login to post response
More Interview Questions by Raja
What is ASP.NET 2.0 Page Life Cycle?
What is MVC (Model View Controller) pattern?
What is lock statement in C#?
What is the use of Monitor in C#?
What is static constructor?
Latest Interview Questions
How to use trace in libraray classes (like BAL, DAL)?
What are session management techniques in .NET?
Is overriding of a function possible in the same class?
What is ViewState?
What data types do the asp:RangeValidator control support?
What are Web services?
More ...