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 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, 6291👍, 0💬
Popular Posts:
interview.FYIcenter.com offers a collections of interview questions and answers for software and Web...
How To Return Top 5 Rows? - MySQL FAQs - SQL SELECT Statements with JOIN and Subqueries If you want ...
I have 5 questions please give me the answer ,explanation,suggestions if any?? what is PMP(project m...
.NET INTERVIEW QUESTIONS - What is the difference between System exceptions and Application exceptio...
Describe different elements in Static Chart diagrams ? Package: - It logically groups element of a U...