title: C# Switch Between Two Numbers?
body: <p>I am trying to make an intelligent switch statement instead of using 20+ if statements. I tried this</p>
  
  <pre><code>private int num;
  switch(num)
  {
      case 1-10:
          Return "number is 1 through 10"
          break;
      default:
          Return "number is not 1 through 10"
  }
  </code></pre>
  
  <p>It says cases cannot fall through each other.</p>
  
  <p>Thanks for any help!</p>