title: Data Structure like a Dictionary returns a string when point is in a range
body: <p>I have an SQL Query which returns the following table with 3 columns:
  <a href="https://i.stack.imgur.com/wAEsU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wAEsU.png" alt="enter image description here"></a></p>
  
  <p>I am searching a data structure, in which I can store the table, that delivers me back the phasename when the dot is between.</p>
  
  <p>I.e. 300 returns Project Management, 360 returns Controlling.</p>
  
  <p>"Project Management"=givePhaseNameFor (300);
  "Controlling"=givePhaseNameFor (360);</p>
  
  <p>In SQL I would write</p>
  
  <pre><code>WHERE point IS BETWEEN y1 AND y2
  
  public string givePhaseNameFor(int point) 
  {
     return "Project Management
  }
  </code></pre>
  
  <p>Is there a data structure (like a Dictionary) for this?</p>