2010-09-14 149 views

回答

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