title: C# Derive From Generic Base Class (T : U<T>)
body: <p>I am trying to find a way to derive a class from a generic base class. Say:</p>
  
  <pre><code>sealed public class Final : Base&lt;Something&gt;
  {
  
  }
  
  public class Base&lt;T&gt; : T
      where T : Anything // &lt;-- Generics do not allow this
  {
  
  }
  </code></pre>
  
  <p>In C# this does not seem to be possible.</p>
  
  <p>Is there any other solution to achieve something similar to this?</p>
  
  <p>I found this <a href="https://stackoverflow.com/questions/1913934/create-intance-of-any-c-sharp-class-by-generic-way">StackOverflow question</a>, but it doesn't seem to solve the issue, or at least I do not understand how it should.</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>The result I'd like to get is to be able to do something like that:</p>
  
  <pre><code>Anything[] anything;
  //Assign some Instances to anything 
  
  foreach(Final final in anything){
       //do something with final
  }
  </code></pre>