Best way to find values in range
<p>I have a collection of values:</p>

<ul>
<li>[0-20] = 1 </li>
<li>[21-30] = 2 </li>
<li>[31-40] = 3 etc.</li>
</ul>

<p>I expect input from users in the for of [44] for example. What would be the most eloquent way to determine in which item the value falls?</p>

<p>I can write a switch statement to match a case > &lt; or an if...statement but neither of these in my opinion is eloquent enough.</p>

<p><strong>Update</strong></p>

<p>I'm looking for a neat and tidy way of finding the range in which my user's input fall, using something like LAMDBA for example:</p>

<pre><code>List&lt;int&gt;().Find(x =&gt; x.WithinRange(range))
</code></pre>

<p>Or something like that.</p>
