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

Answer Posted / raju jaiwardhan

you would need to use a constraint to mandate types
implementing the IDisposable interface to call the Dispose
method.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differences between namespace, class, assembly?

591


What is .net3.5?

602


What is COM Interoperability in .NET

645


What is .net assembly?

588


Describe the programming model of a windows service

550






What is the difference between .net and laravel?

575


Explain the differences between server-side code and client-side code.

573


Write the .net syntax for 'while loop'?

586


Explain about .net assemblies?

615


What do you mean by Driver Script?

629


What is "microsoft intermediate language" (msil)?

527


What is the advantage of .net?

541


Explain the code behind wors and contrast that using the inline style.

563


Dynamic Fonts

1452


What is .net code security?

572