Jani Jarvinen gives you a tour of System.Diagnostics: simple debugging and tracing functions as well as classes for executing and monitoring system processes, getting performance data, and manipulating the Windows Event Log.
Visual Studio .NET Developer: Diagnosing and Debugging with the System.Diagnostics Namespace
Visual Studio .NET Developer: Diagnosing and Debugging with the System.Diagnostics Namespace