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.

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

Updated

In other subjects