Multiple choice technology programming languages

int keyword targets to which .Net type?

  1. System.Int8

  2. System.Int16

  3. System.Int32

  4. System.Int64

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The int keyword in C# is an alias for System.Int32, which is a 32-bit signed integer. Similarly, long maps to System.Int64, short to System.Int16, and byte to System.Byte. These aliases are provided for C# convenience but compile to the same underlying .NET type.