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

The Three Different Types of Errors

Our alien was able to take off with the spaceship in this case. But what if he was unable to leave due to an unknown error. Well, with a laser gun pointed at our heads by an enraged alien, we would have to consider several possibilities quickly. By knowing the three different types of errors described below, we would certainly be able to locate the problem faster.

  • Syntax error— Refers to a grammatical mistake in the C# source code. There are very strict rules for how to write a C# program. These rules form the grammar for C#. This grammar is equivalent to the grammar of the English language, but much more concise. The grammar rules for a programming language are called the syntax of the language.

    It is easy ...

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