“Not … Is Nothing” versus “… IsNot Nothing”

前端 未结 5 1781
夕颜
夕颜 2020-12-29 03:33

Does anyone here use VB.NET and have a strong preference for or against using Not foo Is Nothing as opposed to foo IsNot Nothing? If so, why?

5条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-29 03:58

    I would go with the first variant - it reads like English and is easier to follow/understand than the second one. Other than that, they are equivalent.

提交回复
热议问题