"Asha" <As**@discussions.microsoft.com> wrote in message
news:0B**********************************@microsof t.com...
greetings,
should i do this
obj.dispose
then
obj = nothing
both does the same thing right? whats the core difference?
No. obj = nothing doesn't do anything anymore. It simply removes one
reference to the object. If that's the last reference to the object, then
the object may eventually be garbage-collected.
Dispose cleans up whatever the object thinks needs to be cleaned up, and
does it immediately.
--
John Saunders
johnwsaundersiii at hotmail