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 is singleton activation mode in .net?

0 Answers  


What security measures exist for .NET Remoting in System.Runtime.Remoting?

1 Answers  


Is .net capable of supporting multi-thread?

0 Answers  


What are the differences between user control and server control?

0 Answers  


What?s SingleCall activation mode used for?

1 Answers  


Explain what is an anonymous method and how is it different from a lambda expression?

0 Answers  


How to instantiate a delegate?

0 Answers  


What is MSIL code ?

3 Answers   TCS,


Is .net core stable?

0 Answers  


Can we have same method with same name and signature using partial classes

1 Answers  


What's the problem with .net generics?

0 Answers  


How do you generate a strong name?

0 Answers  


Categories