Mega Code Archive

 
Categories / C# Tutorial / Reflection
 

Obtain type information using the Type GetType method(Case insensitive, throw TypeLoadException if not found)

using System; using System.Text; class MainClass {     public static void Main()     {         Type t4 = Type.GetType("system.string", true, true);     } }