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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we need indexer in c#?

546


How is a loop recorder monitored?

509


What is the difference between class and namespace?

491


What types of object can I throw as exceptions?

543


What is polymorphism in c sharp?

525






List the difference between interface and abstract class?

470


Is a structure a class?

500


Is for loop faster than foreach?

533


What is extension method in c# and how to use them?

476


So what makes your code really object-oriented #?

527


What is a console device?

484


Why do we need collections in c#?

471


What is the concept of strong names?

541


windows c# using datagridview in edit form sql server

3575


What is c# console application?

486