froodley
Active member
- Joined
- Apr 20, 2010
- Messages
- 26
- Programming Experience
- 1-3
Hi, all,
I'm just wondering what is actually happening when you do a comparison like "if myobject = nothing then..." in vb.net.
I know it doesn't work, and use IsNothing, etc... i'm just curious what it's doing. why does it evaluate to true? if it's using the object.Equals method, that compares the memory address of the two objects, yes?
I'm just wondering what is actually happening when you do a comparison like "if myobject = nothing then..." in vb.net.
I know it doesn't work, and use IsNothing, etc... i'm just curious what it's doing. why does it evaluate to true? if it's using the object.Equals method, that compares the memory address of the two objects, yes?