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
What is ashx file in asp.net?
Explain how can you debug your .net application?
What are the advantages and disadvantages of session?
Explain the role of global.asax?
What is the adavantage of using ASP.NET routing?
What are tuples?
Write some code using interfaces, virtual methods, and an abstract class`
I’m having some trouble with cas. How can I diagnose my problem?
What events will occur when a page is loaded?
Describe Segmentation With Paging?
Why and where this web.config file is used?
How can you access the properties and controls of master pages from content pages?
How to rename a table using sql queries?
How can i explain my project during interview?many time i expalain my project but they did't accept? please explain me.
What is tracing? Where is it used?