difference between Trace and Debug ?

Answer Posted / pallavi

The Debug.Write call won’t be compiled when the DEBUG symbol is not defined (when doing a release build). Trace.Write calls will be compiled. Debug.Write is for information you want only in debug builds, Trace.Write is for when you want it in release build as well.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is query string with example?

517


What is postback in asp net?

562


Demonstrate Render and PreRender?

594


How to set the pane area to transparent of a scrollPane component.?

557


What is Model-View-View Model?

603






Where session variables are stored?

539


Where are session variables stored?

505


Describe session handling in a webfarm?

553


What is application variable in asp.net?

461


What is the importance of Global.asax in ASP.NET?

545


How many types of session in ASP.NET

578


How can we secure the data which is send from client side to server? Like the login id and paasword needs to be authenticated on the server but we cannot send it in plain text into the server.One more thing we are not using the SSL here.

1420


can s/w quality assurance engineer switch field to programming side i m very much interested in programming but not much good in it

1415


What kind of data can be stored in viewstate?

530


Define managed code and managed data in .net?

507