Please use code tags
C# is case sensitive. It should be if and not If. Also, your variable names don’t match the case either. It should be keyPositive and keyNegative, not KeyPoisitive and KeyNegative in your if statements.
Please use code tags
C# is case sensitive. It should be if and not If. Also, your variable names don’t match the case either. It should be keyPositive and keyNegative, not KeyPoisitive and KeyNegative in your if statements.