Code compiles and executes even when surrounded only by Braces
<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 just noticed something and I know this is normal behaviour, but I don't quite understand why. I think I remember learning about this somewhere but I'm not sure.</p>

<p><img src="http://i.stack.imgur.com/oxU9w.png" alt="Braces surrounding CSharp code"></p>

<p>The only reason I can think of that you would write code this way is to <em>section-off</em> or <em>split up</em> large sections of code within a single method. But is this the only reason you would use braces this way?</p>

<p>And what is it that allows this code to execute with the surrounding braces which have no method name or identifier associated with them?</p>

<p>I'm also interested in your opinion on this, and would like to know if you write code this way, and why?</p>
