WHAT IS THE SIGNIFICANCE OF THE “FINALIZE” METHOD ?

Amit Singh

Total Post:565

Points:2825
Posted by  Amit Singh
VB.Net 
 1248  View(s)
Ratings:
Rate this:
  1. Amit Singh

    Post:565

    Points:2825
    What is the significance of the “finalize” method ?

    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”.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!