string s = "Hello Reflection";
Type t = s.GetType();
Type t2 = Type.GetType("System.String", false,true);
Type t3 = typeof(string);
其中第二种方式获取Type如何使不同程序集下需要传入完整的程序集版本信息
string s = "Hello Reflection";
Type t = s.GetType();
Type t2 = Type.GetType("System.String", false,true);
Type t3 = typeof(string);
其中第二种方式获取Type如何使不同程序集下需要传入完整的程序集版本信息