Does anyone here use VB.NET and have a strong preference for or against using IsNothing as opposed to Is Nothing (for example, If IsNothing(a
IsNothing
Is Nothing
If IsNothing(a
I agree with "Is Nothing". As stated above, it's easy to negate with "IsNot Nothing".
I find this easier to read...
If printDialog IsNot Nothing Then 'blah End If
than this...
If Not obj Is Nothing Then 'blah End If