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(anObject)
or If anObject Is Nothing...
)? If so, why?
EDIT: If you think they're both equally acceptable, do you think it's best to pick one and stick with it, or is it OK to mix them?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…