C# empty statement
<p>In C#, I can write something like:</p>

<pre><code>using (new MyDisposableClass().MethodA());
</code></pre>

<p>The semicolon causes a compiler warning to be shown which states possible mistaken empty statement. I haven't run the above code but won't the method still be called?</p>

<p>What uses is there of this type of coding convention? I saw another thread on here about this but I ask in case there areny differences now/therefore different replies.</p>

<p>Thanks</p>
