Get information about RAM during the run of a program
<p>I've got two methods. I want to test its performance.</p>

<p>The time of its work I can get with stopwatch. But how to get information about RAM?Are there any classes for it?</p>

<p>Or I will have to get it from task manager manually?(stop program+run tm+continue program)</p>
