C
C#8mo ago
Ewan

✅ What does uint mean?

.
7 Replies
Ewan
Ewan8mo ago
Console.WriteLine("Please enter a number between 2 and " + uint.MaxValue); uint number = uint.Parse(Console.ReadLine()); what does uint mean here? whats the difference between int and uint
x0rld
x0rld8mo ago
unsigned int an unsigned int is an int that cannot be below 0 and the max value is higher
MODiX
MODiX8mo ago
Servator
REPL Result: Success
uint.MaxValue
uint.MaxValue
Result: uint
4294967295
4294967295
Compile: 336.542ms | Execution: 65.708ms | React with ❌ to remove this embed.
Wardergrip
Wardergrip8mo ago
Unsigned integer named number is a string we try to interpet as a unsigned integer (uint.Parse())
Ewan
Ewan8mo ago
thank you! thank yay
Accord
Accord8mo ago
Closed!
Want results from more Discord servers?
Add your server
More Posts