typeof or Type.GetType for a non qualified type name
<p>I want to do do something like this :</p>

<pre><code>Type t=typeof(int?);
</code></pre>

<p>or</p>

<pre><code>Type t=typeof(MemoryStream);
</code></pre>

<p>However the parameter is string ("int?","MemoryStream",etc) and it is not in assembly qualified type name so Type.GetType(string) won't work.</p>

<p>The reason I need to get type is because I'm doing simple code generator application and it need to handle value &amp; reference type different way, and also if type is Enumerable it will iterate and do specific operation. </p>

<p>Do you have any clue about this?</p>
