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...


Difference between Dispose and Finalize method



Difference between Dispose and Finalize method..

Answer / kirti

Finalize method is used to free the memory used by some unmanaged resources like window handles (HWND). It's similar to the destructor syntax in C#. The GC calls this method when it founds no more references to the object. But, In some cases we may need release the memory used by the resources explicitely.To release the memory explicitly we need to implement the Dispose method of IDisposable interface.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net Framework Interview Questions

Can we add constraints to the route? If yes, explain how we can do it?

0 Answers  


Why do I get errors when I try to serialize a Hashtable

1 Answers  


What is the meaning of unobtrusive javascript? Explain us by any practical example.

0 Answers  


What is oauth in web api?

0 Answers  


Mention what is the difference between “ActionResult” and “ViewResult” ?

0 Answers  


Please explain me what the project manager will ask in the interview.The interview is for senior position in .Net (5 years experience )

0 Answers   NNN,


How does the .net framework 3.0 relate to windows vista?

0 Answers  


What is main objective of asp.net mvc 4 or what is new in mvc4 ?

0 Answers  


What are the methods in Thread class?

3 Answers  


How large is the .net framework 3.0? Does this change make the release larger?

0 Answers  


What are sections?

0 Answers  


What are the main components of .net framework?

0 Answers  


Categories