Dork Dork -4 years ago 171
C# Question

What does 0u mean in c#?

What does

0u
mean in c#? Sample context:

uint n = _seconds;
while (n > 0u) {
// TODO
};

Answer Source
var a = 0U; // a is unsigned int

Same as

var a = (uint)0; // a is unsigned int

Check this

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download