Int32
Int32 is a 32-bit signed integer data type used in the .NET framework and related languages. It is exposed as the System.Int32 structure, and in C# the keyword int is an alias for this type. The type occupies four bytes of memory and uses two's complement representation for negative values, which governs how overflow behaves and how bitwise operations operate.
The value range of Int32 spans from -2,147,483,648 to 2,147,483,647. In hexadecimal form, the minimum is 0x80000000
Int32 is commonly used for numeric calculations, indexing, and loop counters, and it serves as the default
In addition to basic usage, Int32 can be parsed from strings using methods like TryParse, and converted
Compared to UInt32, Int32 represents negative values and has a symmetric range around zero. While Int32 is