This may not be possible, but here goes:
I want to create a structure where I can determine the number of arguments when declaring.
For example, now I use:
KeyValuePair<T, T>
but KeyValuePair can only use the key and value.
Is it possible to do something like:
CustomValues<T, {T, {..}}>
I think this is not possible, but maybe I just don't know enough C #. I am also open to smart workarounds,
thanks
source
share