title: C# dynamic object initializer won't compile
body: <p>The following code seems reasonable to me. It should create the object and then use the dynamic features to let me assign any properties I like. However the compiler says that "ExpandoObject does not contain a definition for Test". To which I say, "I know, that's the freaking point!"</p>
  
  <pre><code>dynamic example = new ExpandoObject
  {
    Test = "fail"
  };
  </code></pre>
  
  <p>Any ideas why csc isn't allowing this.</p>
  
  <p>The alternative is to manually expand the code into individual property assignments.</p>
  
  <pre><code>dynamic example = new ExpandoObject();
  example.Test = "fail";
  </code></pre>
  
  <p>Which is annoying when I have lots of properties to assign.</p>