Finalization is to release native resources. Finalization is a mechanism offered by the CLR that allows an object to perform some graceful cleanup prior to the garbage collector reclaiming the object’s memory. Any type that wraps a native resource, such as file, network connection, socket, mutex or other type, must support finalization. Basically, the type implements a method named Finalize . When the garbage collector determines that an object is garbage, it calls the object’s finalize method (if exists). In other words, any type that implements the Finalize method is in effect stating that all of its object want a last meal before they are killed. DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, p...
Technical Solutions for C, C++, Objective-C, C#, OOP's, Data Structure, Algorithms, Mobile Technology, Mobile Design, HTML/HTML5, Web, iOS/iPad/iPhone, Apple Script, Shell Script, Phonegap, AppAccelerator, Unix, Linux, Mac-OS X, Windows, SQL-Server, PL-SQL, Sqlite3, Database Design issues tips, tricks and hacks by Vinay Mishra.