If statement continuing when false (multiple || and &&)
Solution: I put all of the conditional statements inside of if (!allCorrect[i]) so it looks like this if (!allCorrect[i]) { if (int.TryParse(parameters[i], out INT)) { if (_command.ParameterTypes[i] == EVariableType.INT) { allCorrect[i] = true; } else { allCorrect[i] = false; } } } if (!allCorrect[i]) { if (float.TryParse(parameters[i], out FLOAT)) { if (_command.ParameterTypes[i] == EVariableType.FLOAT) { … Read more