Use of dispose method, DOT NET Programming

What is the use of DISPOSE method?

This Dispose method belongs to the IDisposable interface. It is bad  to override the finalize method for writing the cleaning of the unmanaged resources. Therefore if any object wants to release its unmanaged code, the best is to implement IDisposable and override the Dispose method of IDisposable interface. Later once your class has exposed the Dispose method it is the responsibility of the client to call the Dispose method to do the cleanup.

Posted Date: 9/22/2012 3:22:40 AM | Location : United States







Related Discussions:- Use of dispose method, Assignment Help, Ask Question on Use of dispose method, Get Answer, Expert's Help, Use of dispose method Discussions

Write discussion on Use of dispose method
Your posts are moderated
Related Questions
Bug Correction and Prediction Project Description: The project is about the prediction of bugs and resolves the bug in the sample program using costriage algorithm. You have

Develop Outlook Add-In for all versions I need simple code for Outlook(express,2003,2007,2010,2013) Add-In with functionality to repeatedly send CC to the specified email(s), th

Required: An implementation of a two player game. Keep the game simple ROCK PAPER SCOSSORS A two player game, each player on a different browser instance.  (pro


How do we enable SQL Cache Dependency? Below are some of the steps to enable the SQL Cache Dependency:- Enable the notifications for database. Enable the notificatio

What is the purpose of DOTNET? Dot Net Is a collection of products like C#, ASp.Net, Vb.Net, XML. The purpose of .Net is that we can simply upgrade and degrade our programs whi

Write the basic syntax of a LINQ query in Visual Basic as well as in C#. In Visual Basic, the basic syntax of a LINQ query begins with the from clause and ends with the Select

im retrieving the path of image from the database i want to get the image in that path to be displayed in my datagridviewvolumn


Readymade NopCom 3.2 receptive website needs modifications. This is a developer/ webdesign (nopcommerce) opportunity which can allow a good developer/ designer the ability to creat