Answer Posted / kirti
Yes, in the System.Diagnostics namespace. There are two main classes that deal with tracing - Debug and Trace. They both work in a similar way - the difference is that tracing from the Debug class only works in builds that have the DEBUG symbol defined, whereas tracing from the Trace class only works in builds that have the TRACE symbol defined. Typically this means that you should use System.Diagnostics.Trace.WriteLine for tracing that you want to work in debug and release builds, and System.Diagnostics.Debug.WriteLine for tracing that you want to work only in debug builds.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are Validation Annotations?
What are the Core features of ASP.NET MVC?
What is entity framework used for?
What is rxjava used for?
what is datacontrols?
Explain Model, view and Controllers in Asp.Net MVC?
what is code first approach?
what is lazy loading in entity framework?
What operating systems will the .net framework 3.0 be available for?
Mention two instances where routing is not implemented or required?
What is controllercontext?
Does Tempdata hold the data for other request in ASP.Net MVC?
Please explain me what the project manager will ask in the interview.The interview is for senior position in .Net (5 years experience )
What filters are executed in the end?
i have done enough testing in life but now stated developing intereset in development work,Can i think of entering into development work that too in >Net after more then 4 years of testing experiece?