I have a class that contains a method of which parameter name matches a field name.
class Test
{
private int num;
public void Setup(int num)
{
if (num == 10)
{
...
}
}
}
Is there any case in which evaluation inside the method Setup, could instead of the parameter, use the field instead?