Understanding C# Vocabulary
Learn about the C# vocabulary, keywords, beyond keywords, and customizing syntax color.
We'll cover the following...
We'll cover the following...
The C# vocabulary comprises keywords, symbol characters, and types. Some of the predefined, reserved keywords that we will see in this course include using
, namespace
, class
, static
, int
, string
, double
, bool
, if
, switch
, break
, while
, do
, for
, foreach
, and
, or
, not
, record
, and init
.
We will see symbol characters include "
, '
, +
, -
, *
, /
, %
, @
, and $
. Other contextual keywords only have a special meaning in a specific context. However, that still means there are only about 100 actual C# keywords in the language.
...