Say I have a method:
public void SomeMethod(String p1, String p2, int p3) { #if DEBUG object[] args = GetArguments(); LogParamaters(args); #endi
Sure can ...check out this post, it gets the actual values of the params. how to enumerate passed method parameters