TYPE

int (System.Int32)

A signed 32-bit integral value type, with range -2147483648 through 2147483647. Ordinary small integer literals have this type; checked and unchecked overflow behavior depends on context.

Formal Syntax & Structure

csharp syntaxcsharp
int <identifier> = <expression>;

Working Example

Example Snippetcsharp
int items = 17;System.Console.WriteLine(items);
C# & .NET Reference