Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What?s the difference between the Debug class and Trace
class?

Answers were Sorted based on User's Feedback



What?s the difference between the Debug class and Trace class?..

Answer / vinay panchal

There are two Trace classes in the Microsoft .NET Framework
library: System.Diagnostics.Trace and
System.Web.TraceContext. These Trace classes are frequently
confused with each other. However, each one is used for a
specific purpose.

You typically use the System.Diagnostics.Trace class to
debug console applications or Windows Forms applications.
You use System.Web.TraceContext only in Microsoft ASP.NET
applications. To display Trace.Write statements on an
ASP.NET page from a Class Library, you must use the
System.Web namespace. The following examples describe how to
use Trace.Write from a Class Library in an ASP.NET application.

Is This Answer Correct ?    3 Yes 0 No

What?s the difference between the Debug class and Trace class?..

Answer / surojit

What’s the difference between the Debug class and Trace
class? Documentation looks the same. Use Debug class for
debug builds, use Trace class for both debug and release
builds.

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More C Sharp Interview Questions

What are the different approaches of passing parameters to a method?

0 Answers  


what is an internal specifier? what happens internally when I use access specifier Internal ?

4 Answers   rsystems,


What is the partial class in C# What is the use of partial class in C#?

6 Answers   CTS,


What is ioc containers c#?

0 Answers  


What are the Different kinds of methods?

4 Answers   Wipro,


Describe the overview of clr integration.

0 Answers  


What is .cshtml file?

0 Answers  


Which are access modifiers available in c#?

0 Answers  


Why do we use generics in c#?

0 Answers  


What is jit? What are the different types of jit?

0 Answers  


What is dictionary collection in c#?

0 Answers  


What is the use of GC.KeepAlive Method?

0 Answers   HCL,


Categories