Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Dim SomeDate As DateTime
SomeDate = Nothing
' Using it later, if you remember to check for Nothing
If (SomeDate Is Nothing) Then
Else
Console.WriteLine(SomeDate.ToString())
End If
' Using it later, if you don't remember to check for Nothing
Console.WriteLine(SomeDate.ToString())
' Exception is raised
' Using it later, wrapped in a try..catch block
Try
Console.WriteLine(SomeDate.ToString())
Catch (NullReferenceException ex)
' Do something useful with exception
End Try