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

What is client side state management?

727


What is the maximum amount of memory any single process on windows can address?

777


What are the different types of sessions in asp.net?

725


What is x xss protection?

772


If you want to write your own dot net language, what steps you will you take care?

761


If iam developing an application that must accomodate multiple security levels though secure login and my asp.net web appplication is spanned across three web-servers (using round-robbin load balancing) what would be the best approach to maintain login-in state for the users?

798


Define static constructor?

789


What is the difference between viewstate and hidden field in asp.net?

788


What does asp in asp.net stand for?

763


Which is faster viewdata or viewbag?

810


How can we implement a identity (sql server) call in an asp.net page?

816


How to create a db connection at one place/page so that we can use that connection for all pages/forms/windows.what r the steps ned to be performed if question not clear,let me know

933


Why we use asp.net for website development?

716


Define secured sockets layer.

740


What is the difference between user control an custom control?

884