This is probably not possible, but here goes:
I want to create a struct where I can define the amount of arguments at declaration.
for example, now I am using:
KeyValuePair<T, T>
but KeyValuePair can only ever take a Key , and a Value .
Is it possible to make something like:
CustomValues<T, {T, {..}}>
I think this isn't possible, but maybe I just don't know enough C#. I'm also open to clever workarounds,
Thank you