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

What is the output of TextWriterTraceListener redirected?

535


Can firstordefault return null?

497


What is constants in c#?

417


What are immutable types in c#?

477


Define Final Class in C#

538






What is the difference between constant and readonly in c#?

425


What are the generation of Garbage Collection in C# .NET ?

549


What are the collection types can be used in c#?

462


What is the console on a mac?

463


Can we override interface method?

518


What is clr namespace?

482


How do I create a multilanguage, single-file assembly?

490


What is thread safe in c#?

486


What are the benefits of using generics?

465


What is iformatprovider in c#?

485