Trace Switcher
Why we use System.Diagnostics.TraceSwitcher in C#.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Hemant KumarPosted Oct 17, 2011, 5:21 AM
Hi Swetha,
The Trace and Debug classes are included in the .NET framework for adding tracing support in an application. Proper tracing in the code helps in application debugging, bug fixing, and profiling. Three unique features of the .NET tracing support are: support of trace filtering using Trace Switches, Trace Listeners, and trace configuration using application configuration files without recompilation of the application.
Please refer this link for more information
http://msdn.microsoft.com/en-us/library/3at424ac.aspx
Hemant KumarPosted Oct 19, 2011, 5:57 AM