title: Can I use regex expression in c# with switch case?
body: <p>Can I write switch case in c# like this?</p>
  
  <pre><code>switch (string)
  
  case [a..z]+
  
  //   do something
  
  case [A..Z]+
  
  //   do something
  
  ....
  </code></pre>