Is it possible to extract the arguments for a method? I want to be able to output the method parameters/names for debugging/tracing purposes.
I know i could create a new string for each method..but is it
possible using a generic function reflection or similar? Maybe i am
approaching this the wrong way!
public void MyMethod(int arg1, string arg2)
{
trace.write(createstring); //Example output
MyMethod(arg1="kkkl",arg2="hello")
....
...
}
