title: Switch Statement in C#
body: <p>Does anyone know if it's possible to include a range in a switch statement (and if so, how)?  </p>
  
  <p>For example:</p>
  
  <pre><code>switch (x)
  {
     case 1:
       //do something
       break;
     case 2..8:
       //do something else
       break;
     default:
       break;
  }
  </code></pre>
  
  <p>The compiler doesn't seem to like this kind of syntax - neither does it like:</p>
  
  <pre><code>case &lt;= 8:
  </code></pre>