I converted some VB Code to C# . Now I am stuck up at this point where I have to pass the parameters using ref keyword. The function is
CurrentZone.Radius = ModSoftUniversal.perirad(ref (Z2 - Z1), ref ( Xval - Xinc - CurrentZone.Centerx), ref ( dXval - CurrentZone.Centerx), ref ErrorFlag);
The parameters in the function are doing some sott of calculation and to pass the values to the function , ref has to be used.
Visual Studio shows the following . I need help in passing the parameters