title: Dynamically create a c# generic type with self referenced constraints
body: <p>I have a generic type that look like this</p>
  
  <pre><code>public class Entity&lt;T&gt; where T : Entity&lt;T&gt;{ ... }
  </code></pre>
  
  <p>and I need to dynamically construct the type T.  So that it looks like this:</p>
  
  <pre><code>public class MyClass : Entity&lt;MyClass&gt;{ ... }
  </code></pre>
  
  <p>Can this be done ?</p>