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

Answer Posted / mohan kumar e.

We can cleanup objects by implementing IDisposable
interface and providing the implementation for Dispose
method.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is icomparable in c#?

528


Which debugging tools you can use in the .NET ssSDK?

553


In .NET how can you solve the DLL Hell problem?

671


What are anonymous types in c#?

477


What is constructor overloading in c#?

499






Name the method of servicebase class?

542


Describe how a .net application is compiled and executed

522


What is difference between singleton and static class in c#?

478


Is null or empty in c#?

545


What does console mean c#?

497


What is a generic c#?

499


How can you reference current thread of the method ?

525


What is disco?

518


What is CASPOL?

609


What is a linq in c#?

482