title: LINQ to Get Closest Value?
body: <p>I have a List, MyStuff has a property of Type Float.</p>
  
  <p>There are objects with property values of 10,20,22,30.</p>
  
  <p>I need to write a query that finds the objects closest to 21, in this case it would find the 20 and 22 object. Then I need to write one that finds the object closes to 21 without going over, and it would return the object with a value of 20.</p>
  
  <p>I have no idea where/how to begin with this one. Help?</p>
  
  <p>Thanks.</p>
  
  <p>Update - wow there are so many awesome responses here. Thanks! I don't know which one to follow so I will try them all. One thing that might make this more (or less) interesting is that the same query will have to apply to LINQ-to-SQL entities, so possibly the answer harvested from the MS Linq forums will work the best? Don't know.</p>