Literal

A value written directly in source code, such as 42, true, or \"hello\".

What is Literal in C#?

Literal — A value written directly in source code, such as 42, true, or "hello".

class Order
{
    int itemCount = 3;
    decimal price = 4.50m;
    char size = 'M';
    bool paid = true;
}

Level: Novice · More C# terms at this level

Updated

In other subjects