O'Reilly logo

C# Primer Plus by Klaus Michelsen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Note on Syntax Errors and Compilers

In the following chapters, you are going to use the C# compiler extensively and will most likely experience it reporting numerous syntax errors in the command console due to incorrectly constructed statements or typing mistakes.

Fortunately, syntax errors are slowly becoming easier to detect and remove due to improved compiler diagnostics and error messages. The days when the programmer had to spend several hours tracking one syntax error down are nearly gone.

To improve your syntax error elimination abilities, keep the following tips in mind:

  • Line numbers in compiler error messages are not always correct You experienced this problem first-hand in the Listing 2.1 example when the compiler reported position ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required