title: System.LINQ.Dynamic: Select(“ new classname (…)”) into a List<T> (or any other enumerable collection of <T>)
body: <p><a href="https://stackoverflow.com/questions/1465700/system-linq-dynamic-select-new-into-a-listt-or-any-other-enumerabl/1468357#1468357" title="What I want but with custom class">What I want</a> but instead of doing</p>
  
  <p><code>var carsPartial = cars.Select("new(name, year)").ToList();</code></p>
  
  <p>I want to do this:</p>
  
  <pre><code>var carsPartial = cars.Select&lt;car&gt;("new car(name, year)").ToList&lt;car&gt;();
  </code></pre>
  
  <p>Thanks again and ask for clarification if needed.</p>
  
  <p>car class:</p>
  
  <pre><code> public class car
  {
      public string name { get; set; }
      public int year { get; set; }
  }
  </code></pre>
  
  <p>What is in cars: a bunch of cars data with names and years sort of like a database.</p>