P
Peter Kirk
Hi
is it it correct that variables of types like Boolean and Int32 cannot be
null?
It appears these types are structs, and not classes and therefore variables
cannot be assigned the value null (like DateTime as well I think). Is there
anyone else who finds this annoying?
Is the only way around this to wrap these types in your own class? (Why have
Boolean actually, when it really is only a bool primitive and not a class?)
Thanks
Peter
is it it correct that variables of types like Boolean and Int32 cannot be
null?
It appears these types are structs, and not classes and therefore variables
cannot be assigned the value null (like DateTime as well I think). Is there
anyone else who finds this annoying?
Is the only way around this to wrap these types in your own class? (Why have
Boolean actually, when it really is only a bool primitive and not a class?)
Thanks
Peter