I wouldn't say c# 'now' has nullables, they have been there since 2.0 (2004/2005)
[tt]int?[/tt] is shorthand for [tt]Nullable<int>[/tt] so I would say the value is a nullable object of type int. for all practical purposes there are 3 possible values:
the default (0)
a non-default (not 0)
null
To answer the OP's question: I'd say null. The HasValue property will be false if the value is null, but there's still a memory location with a value stored in it, and the value is null.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.