Are there any benefits to using curly braces for just a block of code (without using for, if, try etc)?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/249009/do-you-use-curly-braces-for-additional-scoping">Do you use curly braces for additional scoping?</a><br>
  <a href="http://stackoverflow.com/questions/7246755/floating-curly-braces-in-c-sharp">Floating curly braces in C#</a>  </p>
</blockquote>



<p>By accident I spotted the following in C#:</p>

<pre><code>if(condition) return true;
{
  // perform this if true
}
</code></pre>

<p>When investigating, I realised that you can simply apply curly braces to blocks of code, which made me think it would be akin to 'scoping' the code:</p>

<pre><code>{
  string foo = "foo";
}

string foo = "new foo!";
</code></pre>

<p>...but it doesn't.</p>

<p>Are there any benefits, features or uses of why you would want to do this?</p>
