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


How can you clean up objects holding resources from within
the code?

Answers were Sorted based on User's Feedback



How can you clean up objects holding resources from within the code?..

Answer / nagasaichand

The recommended practice is to implement both Finalize as
well as Dispose methods on an object which needs to clean up
unmanaged resources. The Finalize method would serve as a
backup mechanism in the event that the Dispose is never
called. The garbage collector would perform the object
finalization and prevent a permanent leak of the unmanaged
resource.

Is This Answer Correct ?    4 Yes 0 No

How can you clean up objects holding resources from within the code?..

Answer / kishore anumala

To clean up objects holding resources is to make use of
Dispose Method.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What is linq c#?

0 Answers  


What is dll in vb.net?

0 Answers  


What can we do to handle multiple exceptions?

0 Answers   Accenture,


What does console readkey do in c#?

0 Answers  


1)what is timestamp in C# (anilringole@gmail.com)

2 Answers   Wipro,


What is the difference between static and constant variables?

0 Answers   Accenture,


Define encapsulation?

0 Answers   Siebel,


what is the difference between c-sharp and vb.net?What kind of security or advances we find in both languages?

3 Answers   DataPoint,


Difference between ByVal and ByRef?

5 Answers   Microsoft,


Hello.. This is kali prasad. i wish to learn C#. kindly guide me in making me expert in c#.

2 Answers  


Is c# an array?

0 Answers  


How can we sort an array in c#?

0 Answers  


Categories