Allows an object to try to free resources and performs cleanup operations before it is reclaimed by garbage collection.
protected override void Finalize()
Finalize is used to perform cleanup operations on unmanaged resources held by the current object before the object is destroyed.