Jobin S
Int vs uint in C#
By Jobin S in C# on Jan 17 2024
  • Alpesh Maniya
    Jan, 2024 23

    int (Signed Integer):Represents a 32-bit signed integer. Can store both positive and negative values. Range: -2,147,483,648 to 2,147,483,647.Example: int myInt = 42;uint (Unsigned Integer):Represents a 32-bit unsigned integer. Can only store non-negative values (zero and positive). Range: 0 to 4,294,967,295.uint myUInt = 42u;

    • 0

Most Popular Job Functions