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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain me what is .net web service?

984


How do you view the methods and members of a dll?

1077


What do you mean by web service?

1190


Why SOAP is required?

1151


What is the difference between boxing and unboxing?

909


can any one tel me the complete Testing Procedure of any one simple PROJECT i mean either web/windows based application?

1884


What is boxing and un-boxing in .net?

1012


What is .net technology?

987


Please explain what is heap and what is stack?

952


How will you load dynamic assembly? How will create assemblies at run time?

2080


why you wouldn't want to write into it even if you could

974


How to load the contents of an xml file into an xmldocument object?

986


What is the reason of occurring overflow-underflow arithmetic exception error, it shows error message when we run our program by adding control?

901


What is RCW (Run time Callable Wrappers)?

2348


What is 3 tier architecture?

946