Cloning A Class
<p>I have two classes which contain the same fields, however one inherits some properties from somewhere else and the other does not.</p>

<p>I have created a generic list using the class "ZEUS_ResearchStocksHistory" , but then I need to clone all of the fields over to the other list "ZEUS_ResearchStocksHistoryWithExcel". I don't want to have to loop through each field in one list and populate the other, or write some sort of linq join, there must be a faster way?</p>

<p>The reason I can't use the same class in both instances is that when inheriting the ExcelReport function it adds additional fields which I do not want when I display this list in a data grid.</p>

<pre><code>internal class ZEUS_ResearchStocksHistory
{
 public String Amendment { get; set; }
 public String AmendedBy { get; set; }
 public String Sedol { get; set; }
 public String Date { get; set; }
}

internal class ZEUS_ResearchStocksHistoryWithExcel : ExcelReport
{
 public String Amendment { get; set; }
 public String AmendedBy { get; set; }
 public String Sedol { get; set; }
 public String Date { get; set; }
}
</code></pre>

<p>Is this possible?</p>

<p>Thanks</p>
