title: Using LINQ, is it possible to output a dynamic object from a Select statement? If so, how?
body: <p>Presently in LINQ, the following compiles and works just fine:</p>
  
  <pre><code>var listOfFoo = myData.Select(x =&gt; new FooModel{
       someProperty = x.prop1,
       someOtherProperty = x.prop2
  });
  
  public class FooModel{
       public string someProperty  { get; set; };
       public string someOtherProperty  { get; set; };
  }
  </code></pre>
  
  <p>However, the past few versions of .NET/C# have expanded the role of dynamic objects such as the <code>ExpandoObject</code> and I am wondering if there is a way to basically do this:</p>
  
  <pre><code>var listOfFoo = myData.Select(x =&gt; new ExpandoObject{
       someProperty = x.prop1,
       someOtherProperty = x.prop2
  });
  </code></pre>
  
  <p>Obviously, I have already tried the code above without success, but it seems like I am missing something.</p>