In order to understand the “finalize” method one needs to understand the concept of garbage collection. The job of freeing up the memory allocated to objects is that of a
garbage collector. When the garbage collector determines that an object
is no longer referenced it automatically runs a special destructor
function called “Finalize”.
Join MindStick Community
You need to log in or register to vote on answers or questions.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
The job of freeing up the memory allocated to objects is that of a garbage collector. When the garbage collector determines that an object is no longer referenced it automatically runs a special destructor function called “Finalize”.