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 |
what is asp dotnet
What is runat?
Hi, I am working in a small software company in asp.net platform. I need to know how and what are all the task in asp.net will be assigned for the developers in mnc companies. Thanks in advance.
What are session state modes? List some of the important session state modes of asp.net.
Explain asp.net page life cycle?
when using personlization, how do you access over setting at runtime?
how to write html code with ssl
What are various authentication mechanisms in ASP.NET ?
will this code works fine? or will it gives error? Object obj=5; int i=6; i=i+obj;
Asp.net and asp ? differences?
How do I send e-mail from an ASP.NET application ?
What is reflection and disadvantages of reflection?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)