What is the difference between Debug.Write and Trace.Write?
When should each be used?
Answer Posted / 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 View All Answers
Explain MVC model binders?
How to change Master page in ASP.Net using code?
They mostly asked difference between versions of technologies
What are themes and skins in 2.0, explain usage scenario?
Explain about solution explorer window?
Why is global asax is used?
What is the difference between the get method () and post method ()?
What is difference between inproc and outproc?
How you can manage the state of application at the server side in ASP.NET?
What are the disadvantages of asp.net?
What are the types of caching in asp.net?
What is the difference between union and join?
How to make sure that contents of an updatepanel update only when a partial postback takes place (and not on a full postback)?
Explain how asp.net page works?
what are the Custom controls in asp.net?