Error cs1002:; expected error resolution

This error usually occurs because the C# code in the front page has fewer semicolons, or fewer parentheses, causing the compiler to fail. Double check that the C# code on the page is written correctly.
I made this error because the code at @{} in the foreground page is missing a parenthesis. Add parentheses to solve the problem.

Reproduced in: https://www.cnblogs.com/MrZheng/p/10186059.html

Read More: