title: Check range of string values that contains a number
body: <p>I have a list of values for example: G1, G2, G2.5, G3, G4, etc..) How can I check a range of these values in c# say if I wanted to see if value was between G1 and G2.5 ?</p>
  
  <p>In Vb.net I can do:</p>
  
  <pre><code>        Select Case selectedValue
             Case "G1" To "G2.5" //This would be true for G1, G2, and G2.5
  </code></pre>
  
  <p>How can I do this in c#?</p>