Convert Dictionary<string, object> to a collection of objects with key
<p>Is there a way to convert <code>Dictionary&lt;string, obj&gt;</code> to collection of objects such that each single object in the collection includes the key as another property</p>

<p>Here is the class def for obj</p>

<pre><code>class someclass
{
  string property1;
  string property2;
}
</code></pre>

<p>After conversion, I am expecting each object in the collection to be like</p>

<pre><code>obj.property1
obj.property2
obj.Key
</code></pre>

<p>I have been struggling with this since along time and I seek some help. any ideas? </p>

<p>thanks in advance.</p>
