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
What are resource files? The Resource files are the files which contain program resources. Many programmers think that resource files are used only for storing strings. But you

Nutritional properties of Processing food Processing food, you may have realized that many desirable changes occur, which include development of pleasing colours and flavors, i

We need Asp.net expert with simple html I am in search of a long term asp.net developer to build as well as maintain a volleyball player management website. We would like to inc

In what order do the events of an ASPX page execute. As a developer is it important to understand these events?   If you try to access it in Page_Load that is way previous than

Explain ExpandoObject and DynamicObject classes. The ExpandoObject class refers to a class whose members can be explicitly added and removed at runtime. In other words, the Exp

How can we create custom controls in ASP.NET? The User controls are created using .ASCX in ASP.NET. After that .ASCX file is created you need two things in order to that the AS

Set up a FTP File Server and active FTP File Transfer using VB.NET The Job Description is as given: 1. Manually set up a FTP file server on a remote server. 2. Manually ad

What are the steps to create a windows service in VB.NET ? The Windows Services are long-running executable applications that run in its own Windows session, which then has the

how to replace a keyword using powershell

Converting $ into Rs.  - C# Program I am a learner of C# language and i am struggling with how to convert $ into Rs. in C#. Can you have any code examples for this?