title: select distinct parent with multiple children
body: <pre><code>public class Vehicle {
      public string Type
      public List&lt;Color&gt; Colors;
  }
  
  public class Result {
      public string Type
      public string Color;
  }
  </code></pre>
  
  <p>I get a list of <code>Result</code>'s from a query that looks like this: </p>
  
  <pre><code>Car   -&gt;  Red
  Car   -&gt;  Blue
  Boat  -&gt;  Brown
  Boat  -&gt;  Yellow
  Boat  -&gt;  Green
  Plane -&gt;  White
  </code></pre>
  
  <p>I want to select this list Into a <code>List&lt;Vehicle&gt;</code> with LINQ. I tried this but it didn't work:  </p>
  
  <pre><code>var List&lt;Vehicle&gt; = results.Select(v =&gt; new Vehicle
      {
      Type = v.Type;
      Colors = new List&lt;Color&gt; { new Color = v.Color }
      }
  </code></pre>
  
  <p>I'm sure I need to use some kind of group here but I'm not sure how.</p>