I\'m currently using Generics to make some dynamic methods, like creating an object and filling the properties with values.
Is there any way to \"dynamically\" creat
You can use MakeGenericType:
MakeGenericType
Type openListType = typeof(List<>); Type genericListType = openListType.MakeGenericType(obj.GetType()); object instance = Activator.CreateInstance(genericListType);