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...


Where does the dispose method lie and how can it be used to
clean up resources?



Where does the dispose method lie and how can it be used to clean up resources?..

Answer / srinivas persineti

dispose method is in IDisposable interface,when you are
writing any class in .Net u should inherit the IDisposable
interface and u should implement the Dipoase method.in
dispose method u can call teh GC.Collect() to free up the
object.along with u can aslo call GC.SuppressFinalize() to
avoid multiple callings of GC.

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More Dot Net General Interview Questions

What are the types of assemblies in .net?

0 Answers  


Tell us the difference between managed and unmanaged code?

0 Answers  


What is Event Bubbling in .NET?

0 Answers   Viscus Infotech,


What is the concept of inheritance and how it works in .net?

0 Answers  


Difference b/w dataset.clone and dataset.copy ?

1 Answers   Protech,


What is Code group in .Net with respect to CAS

0 Answers  


Which Namespace is used to to achieve MultiThreading in .NET?

0 Answers  


What is different between Web User Control and Web Custom Control?

1 Answers  


What are the contents of assembly?

4 Answers  


Without UDDI, is it possible to access a remote web service ?

1 Answers   RR, TCS, Tech Mahindra,


What's singlecall activation mode used for in .net?

0 Answers  


Explain how viewstate is being formed and how it's stored on client in .net?

0 Answers  


Categories