hai all,
i'm new to vb.net, and have a simple question for object's lifetime.
what is the difference when set object = nothing or call the object's dispose method ???
BTW, when calling the dispose method, we can pass nothing, true and false to this method.(what difference) as follow
object.dispose()
object.dispose(true)
object.dispose(false)
Please guide me a bit, thank you
i'm new to vb.net, and have a simple question for object's lifetime.
what is the difference when set object = nothing or call the object's dispose method ???
BTW, when calling the dispose method, we can pass nothing, true and false to this method.(what difference) as follow
object.dispose()
object.dispose(true)
object.dispose(false)
Please guide me a bit, thank you