[Solved] ELSE IF + do nothing c# [closed]


Since you used pseudo code, I’m going to guess at variable names:

if(yCoord <= 300 && yCoord >= -130)
{
    vGauge.YCoord = yCoord;
}

only set your variable if the yCoord falls within a valid range.

solved ELSE IF + do nothing c# [closed]