The System.Diagnostics namespace provides classes that allow you to interact with system processes, event logs, and performance counters.
The System.Diagnostics namespace also provides classes that allow you to debug your application and to trace the execution of your code. For more information, see the Trace and Debug classes.
Namespace hierarchy
.NET Framework Class Library