Visual Basic Nullable Value Types Equality

Disconnected

New Member
Why doesn't this print out true?\[code\]> Dim test1 As Decimal? = Nothing> Dim test2 As Decimal? = 5D> > If (test1 <> test2) Then> Console.WriteLine("true")> End If\[/code\]
 
Back
Top