error CS1002: ; expected

You might have the common IntelliSense issue which can be fixed as per the instructions here: Intellisense Not Working with Visual Studio (Fix)