C
C#13mo ago
Ewan

✅ What does uint mean?

.
7 Replies
Ewan
EwanOP13mo 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 👻 🎃
x0rld 👻 🎃13mo ago
unsigned int an unsigned int is an int that cannot be below 0 and the max value is higher
MODiX
MODiX13mo 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
Wardergrip13mo ago
Unsigned integer named number is a string we try to interpet as a unsigned integer (uint.Parse())
Ewan
EwanOP13mo ago
thank you! thank yay
Accord
Accord13mo ago
Closed!
Want results from more Discord servers?
Add your server