title: Convert Dictionary<string, object> To Anonymous Object?
body: <p>First, and to make things clearer I'll explain my scenario from the top:</p>
  
  <p>I have a method which has the following signature:</p>
  
  <pre><code>public virtual void SendEmail(String from, List&lt;String&gt; recepients, Object model)
  </code></pre>
  
  <p>What I want to do is generate an anonymous object which has the properties of the model object along with the first two parameters as well. Flattening the model object into a PropertyInfo[] is very straightforward. Accordingly, I thought of creating a Dictionary which would hold the PropertyInfo's and the first two params, and then be converted into the anonymous object where the key is the name of the property and the value is the actual value of the property.</p>
  
  <p>Is that possible? Any other suggestions?</p>