Equivalent of Runtime class (of java) in c#
<p>Is their is an Equivalent of Runtime class (of java) in c#
Actually I am trying to convert these operation to c#</p>

<p>Runtime runtime = Runtime.getRuntime();
        return runtime.totalMemory() - runtime.freeMemory();</p>
