If you introduce some errors in the program, you can see how Visual Studio displays information about the problems.
Check the Error List window to see that two errors and two warnings have been reported. You can go directly to the errors in the code by double-clicking the error messages in the window.
Revert the changes by pressing Alt+Backspace twice and rebuild.