Create anonymous type from string
<p>So I have a anonymous type which I have used ToString on, and put into a file. It looks like this (and remarkably like JSon...):</p>

<pre><code>{ Name = Name, Description = Description, Status = Pending, Key = Template, SubmittedBy = MyName, Identity = 2fb7a40b-e07a-4f1a-a48b-2c2720567f35 }
</code></pre>

<p>now I want to go the other way (edit:take the string from a file and put it into a format I can put into a known object) and put it into an anonymous type (which has the same properties, but I don't care if they are castable or anything like that, I just want a quick way to do something like.</p>

<pre><code>AnonObject = GetObjectFromFile(blah);
RealObject.Name = AnonObject.Name;
</code></pre>

<p>I only have an interface for RealObject, so I can't add serialisation to the class. If you know a better way, let me know.
Thanks.</p>
