You create an instance of the PerformanceCounter component when you want to build performance monitoring into your application. PerformanceCounter components allow you to connect to existing performance counters, write values to them, and react to values the counters receive.
To create an instance of the PerformanceCounter component programmatically
[Visual Basic]
Dim myPCtr as New System.Diagnostics.PerformanceCounter
Is this the way to do this in the new syntax?
[C#]
System.Diagnostics.PerformanceCounter myPCtr =
new System.Diagnostics.PerformanceCounter();