2010-09-14 7 views

Répondre

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