The default value for any structure, including unsigned int ( [mscorlib]System.UInt32 ), is all-zeros, which is 0 for uint.
You cannot assign null to any structure, but you can use Nullable<uint> (aka uint? ) If you need a uint that can be set to null.
thecoop
source share