通过Type反射类型

    Type t;
   Activator.CreateInstance(t) as 
   Activator这个类位于 system命名空间下

猜你喜欢

转载自blog.csdn.net/LCHUIHUI/article/details/88708339