title: Using Linq Select to create a new inherited object
body: <p>I have 2 classes, <code>User</code> and <code>ExtendedUser</code>. <code>ExtendedUser</code> inherits from <code>User</code> and just adds 2 <code>int</code> fields - Nothing fancy.</p>
  
  <p>I have a list of <code>User</code> objects - <code>List&lt;User&gt;</code> and would like to go over the list and create a list of <code>ExtendedUser</code> objects, where I'd like to just fill fill the missing <code>int</code> fields.</p>
  
  <p>I thought about using the <code>Select</code> method of Linq to create the new objects, but it won't copy the <code>User</code> to <code>ExtendedUser</code> - so I'll need to recreate those objects, which doesn't make sense for me.</p>
  
  <p>EDIT:</p>
  
  <p><code>User</code> is an Entity, where as <code>ExtendedUser</code> is a custom class inheriting from that entity (but not an entity by itself).</p>
  
  <p>It seems the easiest solution here would be composition, though conceptually - inheritance would have worked better.</p>
  
  <p>Any smart solutions here? :)</p>
  
  <p>Thanks!</p>