Invoking nonstatic methods of a class
<p>What (if any) is the upside or downside (performance, good coding practice, garbage collection etc.) of invoking a non-static method of a class in the manner below:</p>

<pre><code>new ClassA().MethodA(param1, param2);
</code></pre>

<p>as against the more "traditional" way of</p>

<pre><code>ClassA classA = new ClassA();
classA.MethodA(param1, param2);
</code></pre>

<p>Any thoughts would be greatly appreciated.</p>
