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

Explain two instances where routing is not implemented or required?

0 Answers  


What are the 3 main components of an asp.net mvc application?

0 Answers  


What is entity graph? : Entity framework

0 Answers  


When using razor views, do you have to take any special steps to protect your asp.net mvc application from cross site scripting (xss) attacks?

0 Answers  


How to change the action name in mvc?

0 Answers  


Can I customise the serialization process

1 Answers  


What type of filter does outputcacheattribute class represents?

0 Answers  


What is the use of trace utility ?

2 Answers  


Can you explain renderbody and renderpage in asp.net mvc?

0 Answers  


What is the use of web api ? Why web api needed, if you have already restful services using wcf ?

0 Answers  


What is the difference between Finalize and Dispose (Garbage collection)

1 Answers  


What is Jit compilers?.how many are available in clr

1 Answers  


Categories