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

Name the classes that are introduced in the system.numerics namespace.

1067


Is it true that objects don't always get destroyed immediately when the last reference goes away?

1014


What are the two main parts of the .net framework?

1075


What is operator overloading in .net?

1048


What are the new 2.0 features useful for?

1207


Explain me what is .net web service?

1050


What is the concept of inheritance and how it works in .net?

1015


What are the difference bbetween value type & reference types ? Example from .net. Integer & struct are value types or reference types in .net?

952


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

1008


Explain me what is encapsulation?

1080


Explain what is a delegate?

1048


Please explain when should you use .net web forms over asp.net mvc?

1008


Explain the different types of proxy patterns?

1234


which methos do you invoke on the dataadapter control to load your generated dataset with data?

1068


What do you mean by Driver Script?

1172