I've got a lot of methods with variuos parameters:
method1(int a, byte b, string c){ ... }
method2(object d, DateTime f){ ... }
...
methodN(short g, short h, string i, object j){ ... }
The numbers and types of parameters are different everywhere but inside all those methods I have to enumerate them all as [param name]:[value]
. Don't ask me why :)
Is there a way do to it without putting them together explicitly one by one? Is there something like method context that I can ask what parameters have come to the current method?