- You are seeing the following error in the console window:
error CS1525: Unexpected symbol `____', expecting `____'
This is caused when an invalid character is found in an expression. For example, the if statement below does not allow the symbol "a" to appear after "if" in the if statement.
Error this example presents:
error CS1525: Unexpected symbol `a', expecting `('
Ensure that the correct symbols appear within the expression. In this example we have placed a "(" symbol after the if statement as this was missing and flagging the "a" as a invalid symbol.