title: Pass An Instantiated System.Type as a Type Parameter for a Generic Class
body: <p>The title is kind of obscure. What I want to know is if this is possible:</p>
  
  <pre><code>string typeName = &lt;read type name from somwhere&gt;;
  Type myType = Type.GetType(typeName);
  
  MyGenericClass&lt;myType&gt; myGenericClass = new MyGenericClass&lt;myType&gt;();
  </code></pre>
  
  <p>Obviously, MyGenericClass is described as:</p>
  
  <pre><code>public class MyGenericClass&lt;T&gt;
  </code></pre>
  
  <p>Right now, the compiler complains that 'The type or namespace 'myType' could not be found." There has got to be a way to do this.</p>