Floating curly braces in C#
<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>  </p>
</blockquote>



<p>I ran across a piece of C# code today I had not seen before. The programmer defined a block of code using only curly braces (no if, class, function, etc).</p>

<pre><code>{
    int i = 0;
}
i++; //compile error
</code></pre>

<p>Is there a purpose to this other than making the code look more organized? Is it good, bad, or whatever practice to use this "floating" contexts?</p>
