Releases unmanaged resources and performs other cleanup operations
before the object is reclaimed by garbage collection.

C# | Visual Basic | Visual C++ |
protected override void Finalize()
Protected Overrides Sub Finalize
protected: virtual void Finalize() override