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 is the difference between Debug.Write and Trace.Write?
When should each be used?

Answers were Sorted based on User's Feedback



What is the difference between Debug.Write and Trace.Write? When should each be used?..

Answer / prasad

Debug.write would not be compiled when the debug symbol is
defined
Trace.write would be compiled when the debug symbol is
defined

Is This Answer Correct ?    7 Yes 1 No

What is the difference between Debug.Write and Trace.Write? When should each be used?..

Answer / champion

Debug.Write & Trace.write - both works in Debug mode, while in Release Mode,Trace.write only will work .Try changing the Active Config property of Solution in Property page nd find the difference. Debug.write is used while debuging a project and Trace.write is used in Released verion of Applications.

Is This Answer Correct ?    5 Yes 1 No

Post New Answer

More ASP.NET Interview Questions

how to handle sql exceptions?

4 Answers   Marlabs, TCS,


What is a session in programming?

0 Answers  


How do you insert multiple rows from a grid view to database table under a single transaction?

1 Answers  


in which protocol ASP.NET WEB API Work?

0 Answers   HCL,


Difference between connected architecture and Dissconnected architecture?

2 Answers  


Where do you store the information about the user?s locale?

2 Answers  


which one is faster execute reader, scalar, execute non query ?

18 Answers   Intiger, Minecode,


What is difference between Lambda Expression and LINQ in ASP.NET?

0 Answers   Viscus Infotech,


how to increase performance of web site? if there is a page with high load. the content is high then what should we do to increase performance?

3 Answers   Emphasis, Mphasis, TCS,


Using shadow variable is good or bad for application?

1 Answers   Keane India Ltd,


What is the recommended approach for asp.net mvc to globally intercept exceptions? What other functionality can be implemented with the approach? : Asp.Net MVC

0 Answers  


How we can bind textbox,listbox and datagrid to sql server database in asp.net using visualstudio.net language (vb.net)?

2 Answers   rocsearch,


Categories