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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

1.how to encrpt query string in asp.net? 2.there are 10000 records then i wnat display 5000 records one gridview and 5000 records another grid view what is the process?

1913


What is server side routing?

692


What is asp.net globalization?

710


What is a SESSION and APPLICATION object?

786


What are main return types supported in Web API?

1016


How to reduce the width of textbox in editcommandcolumn of datagrid?

733


What are the different kinds of assemblies?

731


What is advantage of code behind coding in ASP.NET?

791


Explain the updatepanel?

801


Can we use html in asp.net?

684


What are the differences between the response.write() and response.output.write()?

769


Explain About WebService

907


what are the ihttphandler and ihttphandlerfactory interfaces ?

741


How do we ensure view state has not tampered?

816


Why is it preferred to not use finalize for clean up?

750