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


What is the Difference B/W Finalize() and Dispose() in .Net?

Answers were Sorted based on User's Feedback



What is the Difference B/W Finalize() and Dispose() in .Net?..

Answer / nishant

To Release the Memory Occupied by Object by implicit way
then use finalize() Method...And release the Memory by
Explicit Way then Use dispose() Method..

Is This Answer Correct ?    0 Yes 0 No

What is the Difference B/W Finalize() and Dispose() in .Net?..

Answer / sushma

A Dispose() method is explicit, meaning you code Dispose()
up and explicitly call it in your application or system
code. A Finalize() method is implicit, meaning you code
Finalize() up but never actually call it — Finalize() is
called behind the scenes by the .NET GC mechanism.

The GC call the Finalize() function automatically to destroy
the object called implicit destroy. when you want to destroy
a objects that you think no longer need and free it from
memory, then we will use the dispose function. For better
performance we will use the dispose function explicitly.

Is This Answer Correct ?    5 Yes 7 No

Post New Answer

More ASP.NET Interview Questions

What are the new data controls in asp.net 2.0?

0 Answers  


How To Authenticate Your Web service??

1 Answers  


what is .net

15 Answers   Net Solution,


Where do you store the information about the user?s locale?

1 Answers   Siebel, Visual Soft,


Explain the concept of event bubbling in ASP.NET?

0 Answers   Sans Pareil IT Services,


What New Features comes with ASP.NET Web API 2.0?

0 Answers  


what are the main advantage in .net?

4 Answers   TCS,


I need to download file from web server, without using save as dialogue box. Can anyone help, thanks In advance.

1 Answers  


Why is global asax is used?

0 Answers  


What is the difference between ExecuteReader,ExecuteNonQuery and ExecuteScalar.

8 Answers  


What is deference between asp.net, vb.net, c# & j#

2 Answers  


what is difference between .net 3.0 and 3.5

3 Answers  


Categories