Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Finalizers

Resources of an object are cleaned up in a Finalize method. Before an object is removed from memory, the Finalize method is called to allow for cleanup that is related to the object. Finalize methods are called finalizers. Every object inherits the Finalize method from the System.Object type. Here is the signature of the Finalize method:

protected virtual void Finalize()


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial