What is the difference between Debug.Write and Trace.Write?
When should each be used?
Answers were Sorted based on User's Feedback
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 |
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 |
Using shadow variable is good or bad for application?
how many character send in one sms forget 160limit and think about gateway allowed
What is difference between abstract class and an interface?
Where viewstate value is stored in asp.net?
Asp.net and asp ? differences?
Can we change the page layout in ASP.NET 2.0 as Grid Layout like in previous version
How to Insert/Add in ASPXgridview
What is the namespace for encryption?
3 Answers Astadia, CIA, Wipro,
When Garbage Collector will run and how its identifing whether the Object is used or Not.?
What is session state server?
What is the difference between web config and machine config files?
What are user controls and custom controls ?