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 the use of activex control in .net?

1042


How is threading done in .net?

991


Can "this" be used within a static method?

1053


How do I spawn a thread?

946


How do you generate a strong name?

1108


Explain what is mutex?

1053


Describe the Managed Execution Process

2133


Is .net core free?

1077


What is the difference between constants and read-only variables?

1067


What is Ajax? How it is related to your project?

1023


Please explain is the jit an interpreter?

1124


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

1086


Is .net core the future?

988


What is a .net class?

1175


What is alias ? Is it used in .Net ?

1092