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 custom events? How to create it?

631


What is a page life cycle?

575


What is inproc and outproc?

531


What is a web pool?

592


What do you mean by serialize?

563






How do you sign out from forms authentication?

559


Can you dynamically assign a Master Page?

590


What is a query string in a url?

549


Difference between Response.redirect vs server.transfer?

592


Which two new properties are added in asp.net 4.0 page class?

531


What is the difference between a default skin and a named skin?

601


What are the advantages of asp.net mvc framework? : asp.net mvc

553


Distinguish between Server-side and Client-side code with its functionality?

632


What is the difference between client-side and server-side validations in webpages?

569


Explain how asp.net different from asp?

570