2010-09-14 155 views

回答

10
Type listT = typeof(List<>).MakeGenericType(new[]{type}); 
object list = Activator.CreateInstance(listT);