Categories:
.NET (357)
C (330)
C++ (184)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (2)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Struts (1)
Windows (1)
XHTML (173)
Other Resources:
What is the use of DISPOSE method
What is the use of DISPOSE method?
✍: Guest
Dispose method belongs to IDisposable interface. We had seen in the previous section how bad it can be to override the finalize method for writing the cleaning of unmanaged resources. So if any object wants to release its unmanaged code best is to implement IDisposable and override the Dispose method of IDisposable interface. Now once your class has exposed the Dispose method it’s the responsibility of the client to call the Dispose method to do the cleanup.
2007-10-23, 6214👍, 0💬
Popular Posts:
What is V model in testing? V model map’s the type of test to the stage of development in a project....
What are the two fundamental objects in ADO.NET ? Datareader and Dataset are the two fundamental obj...
How is the MVC design pattern used in Struts framework? In the MVS design pattern, there 3 component...
What is the difference between include directive & jsp:include action? Difference between includ...
What is the concept of XPOINTER? XPOINTER is used to locate data within XML document. XPOINTER can p...