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 is an icollection in c#?

840


if a method is marked as protected internal who can access it?

998


What are the methods in c#?

910


Explain jagged arrays in c#?

946


What do u mean by thread safe?

883


Explain the OOPS concept in C#?

931


What is wpf application in c#?

820


What is the difference between int and int in c#?

952


What is the difference between a class and an object c#?

927


Why do we need delegates?

839


What is dll hell, and how does .net solve it?

921


What are the 3 types of comments in c#?

901


Is typeof c#?

944


Write a program in C# for checking a given number is PRIME or not.

1033


What is difference between private, protected, and public in C#?

1008