# int

*noun*

say it: **“INT”** **/ɪnt/**

C#'s everyday type for whole numbers, from about minus two billion to plus two billion.

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

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

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

## In a sentence

- “I used an **int** for the number of pages, because there's no half page.”

Level: Novice · [More C# terms at this level](https://www.ask-codey.com/glossary?category=c-sharp&level=1)

Updated: November 9, 2026

## In other subjects

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

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