title: Instantiating anonymous object using C# object initializer syntax stored in string
body: <p>Using the C# object initializer syntax I can instantiate an anonymous object like this:</p>
  
  <pre><code>object empData = new { name = "bob", age = 30, salary = 100000 };
  </code></pre>
  
  <p>But what if I have the initializer stored in a string, e.g.:</p>
  
  <pre><code>string init = "{ name = \"bob\", age = 30, salary = 100000 }";
  </code></pre>
  
  <p>Whats the best way of converting this string into an instance of the object?</p>