动态实例化类

//Type type = Type.GetType("MDK3ERPAPI.Models.SLF_ICBomChild", false);
//if (type == null)
//{
// return null;
//}
//var obj = Activator.CreateInstance(type);

posted @ 2021-10-08 02:13  liangyuwen  阅读(92)  评论(0)    收藏  举报