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 an exe and a dll?

0 Answers  


What is a strategy pattern? Implement it.

1 Answers  


Explain the difference between the while and for loop. Provide a .net syntax for both loops?

0 Answers  


What is the difference between a namespace and assembly name in .net?

0 Answers  


Explain how to rename a table using sql queries?

0 Answers  


Is .net core the future?

0 Answers  


Example from .net. Integer & struct are value types or reference types in .net?

0 Answers  


What's the .net collection class that allows an element to be accessed using a unique key?

0 Answers  


Explain me what is the difference between an abstract class and an interface?

0 Answers  


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

1 Answers   Wipro,


Explain can 2 different applications use the same dll in gac at the same time?

0 Answers  


What is .net assembly?

0 Answers  


Categories