C# Look up dictionary
<p>I'm currently trying to create a program that estimates location based on signal strength. The signal strength value is an int and then i need a lookup dictionary with ranges.</p>

<p>So I would have something like:</p>

<pre><code>Signal Strenth             Position
0-9                            1
10-19                          2
20-29                          3
</code></pre>

<p>and then I would want to look up what position a signal strength relates to, for example 15 would relate to position 2.</p>

<p>I know I can just have a load of if statements but is there a good way to do this using some sort of lookup dictionary?</p>
