title: generic inheritance in C#?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1842636/why-cannot-c-sharp-generics-derive-from-one-of-the-generic-type-parameters-like">Why cannot C# generics derive from one of the generic type parameters like they can in C++ templates?</a>  </p>
  </blockquote>
  
  
  
  <p>I can do</p>
  
  <pre><code>public class MyGenericClass : DL
  //but i cannot do
  public class MyGenericClass &lt;T&gt; : T
  </code></pre>
  
  <p>How would i do the second? if i cannot do that, how can i do something like</p>
  
  <pre><code>public class MyGenericClass &lt;T&gt; 
  {
      T obj;
      //have all MyGenericClass.XYZ call obj.XYZ
  }
  </code></pre>