C# How to extend a class used by another class?
<p>Please let me explain my question with this example:</p>

<p>If I extend DataTable and DataColumn:</p>

<pre><code>class MyTable: DataTable
{
    // Columns in here.
}

class MyColumn: DataColumn
{
}
</code></pre>

<p>My question is, how can I let the Columns of the MyTable class use the extended MyColumn, rather than the original DataColumn?</p>

<p>Thanks. </p>
