i was wondering if there’s a way to build a class which can accept multiple generic arguments
that aren’t known at compile time
class Something<T,V,U>
this example shows a class which would expect to receive 3 generic arguments at run time.
i’m looking for a way to specify a class which would except multiple arguments of a varied amount
something along the line of
class Something<T[]>
which i could later expose using reflection
Type [] types = GetType().GetGenericArguments();
You can make some class – a kind of
and to use that as
to get (pass) dynamic list of types – not sure it’s the best way