title: Is it possible to cast to a type using type name in a string variable?
body: <p>Is it possible to build a type name and recast an object to a specific type?  The target types will be contained in the same assembly, and there will be hundreds.
  Example code:</p>
  
  <pre><code>var isPropertyInfo = objCollection as PropertyInfo;
  if (isPropertyInfo != null)
  {
      var propType = ((PropertyInfo)objCollection).PropertyType;
      var containerType = StripContainerType(propType.FullName);
      var itemType = StripItemType(propType.FullName);
      var fullTypeName = containerType + "&lt;" + itemType + "&gt;";
          // ex:  "System.Collections.Generic.ICollection&lt;Customer&gt;"
      var fullType = Type.GetType(itemType);
      dynamic coll;
      // now I want to do something *LIKE* (pseudocode-ish)
      // coll = objCollection as fullType;
  </code></pre>
  
  <p>Do not consider the last line as valid code.  It's just where I'm stuck.</p>