|
|
On 7/2/2011 13:52, Warp wrote:
> What does X.Value return if X.HasValue is false?
Oh, and for what it's worth, "X = null;" does the same as setting
"X.HasValue=false" and "X == null" is the same as "!X.HasValue". Just
syntactic sugar the compiler puts in during one of the very early passes.
Not something easy to do with C++ just that way, I suspect?
--
Darren New, San Diego CA, USA (PST)
"Coding without comments is like
driving without turn signals."
Post a reply to this message
|
|