标签:blog http io ar art cti log ad
转:http://blog.csdn.net/ise_keven1/article/details/2070049
方案一:
using System;
using System.Reflection;
Type type = Type.GetType("abc");
Activator.CreateInstance(type);
方案二:
using System;
using System.Reflection;
Assembly assem = Assembly.Load("dll名称");
Type helloType = assem.GetType("类名");
Object obj = Activator.CreateInstance(helloType);
标签:blog http io ar art cti log ad
原文地址:http://www.cnblogs.com/bluemaplestudio/p/3919859.html