Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is Dispose method in .NET ?

Answer Posted / rajesh rajput

Is's a member of Idisposable interface provided by .net
framework.A class which implements this interface must
implement dispose(). that is responsible to remove
unmanaged resources from managed heap.

In this case, Garbage collector does not do anything as we
programmers handle the process of disposing the unmanaged
objects like DB objects etc.We should not infer that
garbage collector removes the objects which are no longer
in use in context of dispose only.

Is This Answer Correct ?    7 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the Types of compatabilities and explain them

923


What do you mean by sealed classes and static classes?

926


Why do we need reflection in c#?

868


What is executenonquery c#?

825


What Is A Satellite Assembly?

908


Illustrate serialization?

896


What is ienumerable and iqueryable?

858


What is the use of private constructor in c#?

848


Which is faster list or dictionary in c#?

916


Explain the process of Serialization?

947


Is c# good for games?

814


What is jagged array?

877


Is c# easier than c++?

856


How can I get the ascii code for a character in c#?

1001


Can we inherit private class in c#?

886