c#用反射动态获取类型

Type tt = Assembly.Load("Model").GetType(tablename);
tt.GetType();

//object ff = Activator.CreateInstance(tt, null);

//PropertyInfo[] props = tt.GetProperties();

原文地址:https://www.cnblogs.com/kk138/p/13655801.html