In my last project (VS 2017 /FW 4.5), I had to change
into
to make it work (i.e detect that MyObject exists with something in it).
I thought both were equivalent but it seems that they aren't and I really can't see why. Or maybe I missed something in my code, which is truly a possibility:rolleyes:
Regards
Code:
if MyObject isnot nothing then ..
Code:
if not (MyObject is nothing) then...
I thought both were equivalent but it seems that they aren't and I really can't see why. Or maybe I missed something in my code, which is truly a possibility:rolleyes:
Regards