Explain the diffrent type of literals in c#
The different types of literals in C# are:
Boolean literals - Refers to the True and False literals that map to the true and false states, correspondingly.
Integer literals - Refers to literals that are used to write values of types int, uint, long, and ulong.
Real literals - Refers to literals that are used to write values of types float, double, and decimal.
Character literals - Shows a single character that usually consists of a character in quotes, such as 'a'.
String literals - Refers to string literals, which can be of two types in C#:
A regular string literal consists of zero or more characters enclosed in double quotes, like "hello".
A verbatim string literal having of the @ character followed by a double-quote character, such as @"hello".
The Null literal - Shows the null-type.