title: CType in VB.NET with dynamic second parameter (type)
body: <p>In VB.NET CType can be used to convert one type to another.</p>
  
  <pre><code>CType(expression,type)
  </code></pre>
  
  <p>I have the "expression" stored in an instance object class, say <code>"objExp"</code>.
  I have the "type" stored in an instance of Type class, say<code>"objType"</code>.</p>
  
  <p>I am trying <code>CType(objExp, objType)</code>
  I am getting compile error, how should I go about it ? "<code>objType</code>" is fetched and assigned at runtime.</p>