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
ILDASM When it comes to the understanding of the internals nothing can beat ILDASM. ILDASM  converts all the exe or dll into IL code. To run ILDASM you have to go to "C:\Progra

how to create log in form using vb 2010

We need programmers and accountants Skills required are .NET, C# Programming, Graphic Design, Commercials, Software Architecture

Explain project life cycle. Figure: -Life cycle of a project There are 5 stages of any project initiating, planning, executing, controlling, & closeout. These are the

Project Description: We require an expert developer to work on several projects for our company. You will be managed by our senior developer. Required - MUST be proficient in

Question: (a) List three advantages of binding data to controls. (b) The Repeater control uses templates to control formatting. Define the five types of templates supporte

What are the various objects in Dataset? The Dataset has a collection of DataTable object inside the Tables collection. Every DataTable object have  a collection of DataRow obj

What is the difference between Class and structure's? The main differences between them are as follows:- 1) The Structure is value types while classes are referen

A Super-hero Sharepoint developer with great design skills Project Description: US: Our start-up company develops a very cool and innovative SharePoint related product with c

Which property on a Combo Box do you set with a column name, prior to setting the Data Source, to display data in the combo box? ComboBox.DataValueField = "ColumnName" When