From what I know, C# allows that only the last parameter of a method is of “variable length”, for example:
T f(A a, params B[] b) allows that if you have A r; .... B x, y, z; .... you can call f like f (r, x, y, z). Why C# doesn’t also define something like:
T f(params A[] a, params B[] b)
Because how would the compiler know when the variable arguments for the first parameter stop?
Pleas tell me what
argOneandargTwoshould contain inside of the method body: