The
If Not var1 Is Nothing Then
Is a hangover from VB6. There didn’t used to be an IsNot, and so this was the only way to determine if a variable was not Nothing
. It seems to be redundant in VB.NET.
The
If Not var1 Is Nothing Then
Is a hangover from VB6. There didn’t used to be an IsNot, and so this was the only way to determine if a variable was not Nothing
. It seems to be redundant in VB.NET.