A primary-expression that consists of a literal (§2.5.3) is classified as a value. The type of the value depends on the literal as follows:
bool
. There are two possible boolean-literals, true
and false
.int
, uint
, long
, or ulong
, as determined by the value of the literal and by the presence or absence of a type suffix (§2.5.3.2).float
, double
, or decimal
, as determined by the presence or absence of a type suffix (§2.5.3.3).char
.string
.