The namespace System.Diagnostics provides a set of attributes and classes to interact with the system process, events managers, performance counts, etc. This namespace can help us too in debugging job.
Let’s review the useful actions inside of System.Diagnostics namespace.