The default value for an object is null. Since DateTime is a value type,
the default value is DateTime.MinValue ( how the method knows that, I am not sure ;) )

DateTime is actually a strut with value-type semantics. :-) But for how the method knows that, see the "default()" keyword. http://msdn.microsoft.com/en-us/library/xwth0h0d%28VS.80%29.aspx

-Walden



This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].