Data Type

A rule describing what kind of value something can hold and what operations it supports.

What is Data Type in C#?

Data Type — A rule describing what kind of value something can hold and what operations it supports.

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