Within a switch function in a method, I get an error "The name 'Radius' does not exist in the current context." The varible is assigned elsewhere in the code. I don't get the error for the other variables.



Code:
public static double MenuItem(int amount)  // method based on menu selection
        {
            double Volume;
            // double Radius;
            double Number = Radius;
...