Difference between debug.write and trace.write?
Answer / Shiva Chaudhary
Debug.Write and Trace.Write are methods in C# used for outputting messages during the debugging process. The main difference lies in their scope: Debug.Write is only active when the application is compiled in Debug mode, while Trace.Write can be active in both Debug and Release modes. To enable trace messages, you need to set the AppDomain switch.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the fundamental oop concepts?
What is the difference while using directive vs using statement ?
What is the default value of guid in c#?
Is array a list?
What are jagged arrays used for?
What is the default value of singleordefault?
Define acid rule of thumb for transactions in c#.
Can you mark static constructor with access modifiers?
How can I get around scope problems in a try/catch?
Define multicast delegate? How it be used?
Explain how many types of exception handlers are there in .net?
What namespaces are necessary to create a localized application?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)