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

What's singlecall activation mode used for in .net?

772


Name the classes that are introduced in the system.numerics namespace.

865


What is the difference between an abstract class and an interface?

771


What is misl?

841


What do you mean by Driver Script?

851


How boxing and unboxing occures in memory?

850


Explain me what is .net web service?

795


Explain about .Net products?

870


What is STA in .NET?

869


Can any object be stored in a viewstate in .net?

831


What is dot net and its uses?

784


Write the .net syntax for 'while loop'?

819


What is boxing and un-boxing in .net?

842


Please explain the difference between constants and read-only variables?

770


Tell me about secure socket layer? How to make use of the technology?

783