Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
What is the significance of Finalize method in .NET
What is the significance of Finalize method in .NET?
✍: Guest
.NET Garbage collector does almost all clean up activity for your objects. But unmanaged resources (ex: - Windows API created objects, File, Database connection objects, COM objects etc) is outside the scope of .NET framework we have to explicitly clean our resources. For these types of objects .NET framework provides Object. Finalize method which can be overridden and clean up code for unmanaged resources can be put in this section.
2007-10-23, 7527👍, 0💬
Popular Posts:
How do I force the Dispose method to be called automatically, as clients can forget to call Dispose ...
How comfortable are you with writing HTML documents entirely by hand? Everyone has a different prefe...
Why is it preferred to not use finalize for clean up? Problem with finalize is that garbage collecti...
How To Give a User Read-Only Access to a Database? - MySQL FAQs - Managing User Accounts and Access ...
How To Give a User Read-Only Access to a Database? - MySQL FAQs - Managing User Accounts and Access ...