I am reading now about the Dispose and the Finalize method on the CLR ( 4.0 )
I dont understand something …
If I add an implementation of Finalize ( ~className1 ) to my code => then the Finalize List have pointer to the object instance that in the managed heap.
Now, Lets say i did not implement the Finalize ( ~className2 ) and i just implemented the IDisposable interface on my code – Is thie object will have pointer from the Finalize List ?
No. If an object doesn’t have a finalizer, it will not be in the finalize queue.
Reference: MSDN