title: How to perform .Max() on a property of all objects in a collection and return the object with maximum value
body: <p>I have a list of objects that have two int properties. The list is the output of another linq query. The object:</p>
  
  <pre><code>public class DimensionPair  
  {
      public int Height { get; set; }
      public int Width { get; set; }
  }
  </code></pre>
  
  <p>I want to find and return the object in the list which has the largest <code>Height</code> property value.</p>
  
  <p>I can manage to get the highest value of the <code>Height</code> value but not the object itself.</p>
  
  <p>Can I do this with Linq? How?</p>