title: cast object with a Type variable
body: <p>The following doesn't work, of course. Is there a possible way, which is pretty similar like this?</p>
  
  <pre><code>Type newObjectType = typeof(MyClass);
  
  var newObject = givenObject as newObjectType;
  </code></pre>