# int

A primitive type for whole numbers within a fixed range.

## What is **int** in C#?

**int** — A primitive type for whole numbers within a fixed range.

```csharp
class Order
{
    int itemCount = 3;
}
```

Level: Novice · [More C# terms at this level](https://www.ask-codey.com/glossary/subjects/c-sharp/novice)

Updated: September 28, 2026

## In other subjects

- [int in Java](https://www.ask-codey.com/glossary/int)

Source: https://www.ask-codey.com/glossary/int-c-sharp
