<分区>
重复: Determine the name of the variable used as a parameter to a method
有什么方法可以检索传递给方法的参数的名称,例如
int someParameter = 1;
Method(someParameter);
public void Method(int parameter)
{
// I want the name of 'parameter' which will be 'someParameter'.
}