title: How to get the closest number from a List<int> with LINQ?
body: <p>How to get the closest number from a <code>List&lt;int&gt;</code> with LINQ? </p>
  
  <p>For example:</p>
  
  <pre><code>List&lt;int&gt; numbers = new List&lt;int&gt;();
  numbers.Add(2);
  numbers.Add(5);
  numbers.Add(7);
  numbers.Add(10)
  </code></pre>
  
  <p>I need to find the closest value in the list to number 9. In this case 10.</p>
  
  <p>How can I do this with LINQ?</p>