title: C# switch statement with curly braces for each case/default block within the switch statement?
body: <p>Typically, a switch statement in C# looks like this</p>
  
  <pre><code>switch (sh)
  {
     case 1:
        DoThis();
        DoThat();
        break;
     case 2:
        DoThis();
        DoThat();
        break;
     default:
        DoThis();
        DoThat();
        break;   
  }
  </code></pre>
  
  <p>But for the first time ever, I saw someone using curly braces for each case statement within a switch statement like below:</p>
  
  <pre><code>switch (sh)
  {
     case 1:
     {
        DoThis();
        DoThat();
        break;
     }
     case 2:
     {
        DoThis();
        DoThat();
        break;
     }
     default:
     {
        DoThis();
        DoThat();
        break; 
     }  
  }
  </code></pre>
  
  <p>Why are these curly braces <code>{</code>, <code>}</code> being used for each case and default blocks of the case statement above?</p>
  
  <p>Why are they needed?</p>
  
  <p>What is the difference?</p>