Tracing and Exception Catching using Trace Listeners
The .NET framework ships with a very flexible tracing feature provided through the Trace class in the System.Diagnostics namespace. Debug.Diagnostics.Trace.WriteLine(“My Debug Output”); Whenever you need to write some debug output just use Trace.WriteLine to send the debug output to a Trace Listener. In my project I have added some line of code to the […]