How to use Finalize() and Dispose() on VB.NET

813 views Asked by At

I can't get to delete an object and the reference to it. After using the Finalize() method on an object and using the GarbageCollector Collect() method, i am still able to call the object and see its attributes. I would like to see two simple examples of how to use these two methods to understand how to correctly use them.

0

There are 0 answers