Nothing
in VB.NET is not the same as null
in C#. It has also the function of default
in C# and that is what happens when you use it on a structure like System.DateTime
.
So both, Date
and DateTime
refer to the same struct System.DateTime
and
Dim dt As Date = Nothing
actually is the same as
Dim dt = Date.MinValue
or (in C#)
DateTime dt = default(DateTime);