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

Explain acid properties?

1 Answers  


What are situations when you register .NET assembly in GAC ?

0 Answers   UGC Corporation,


Explain is the jit an interpreter?

0 Answers  


What is lazy initialization?

0 Answers  


What is meant by managed and unmanaged code?

0 Answers  


Please send me the latest asp.net,c#,sql server interview questions .my email id is ramtryin@gmail.com

1 Answers  


Where does the gac exist ?

0 Answers  


What is value type and refernce type in .net?

0 Answers  


How inheritance works in .net?

0 Answers  


How to create a key pair in .net?

0 Answers  


how can i create a table from front end to back end in wabe page?

0 Answers  


Describe the role of global.asax.

2 Answers  


Categories