title: C# Collection select value of the property with minimum value of another property
body: <p>So let's say I have a type <code>Car</code> with two properties <code>Speed</code> and <code>Color</code></p>
  
  <pre><code>public class Car
  {
     public int Speed {get; set;}
     public string Color {get; set;}
  }
  </code></pre>
  
  <p>Using LINQ I may find the minimum speed</p>
  
  <pre><code>int minSpeed = collection.Min(em =&gt; em.Speed);
  </code></pre>
  
  <p>so minSpeed will contain the value of speed of the car with the minimum speed in collection.</p>
  
  <p>But how can I do something similar to get the color of the car?</p>
  
  <p>Something like:</p>
  
  <pre><code>string color = collection.Min(em =&gt; em.Speed).Select(x =&gt; x.Color);
  </code></pre>