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

Answers were Sorted based on User's Feedback



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

Answer / mahesh

By Using the iDisposable method

Is This Answer Correct ?    6 Yes 1 No

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

Answer / 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

More Dot Net General Interview Questions

Explain what is the difference between response.redirect & server.transfer?

0 Answers  


What is Assembly manifest? what all details the assembly manifest will contain.

1 Answers  


What are virtual destructures?

0 Answers  


What is Global Assembly Cache (GAC) and what is the Purpose of it?

1 Answers  


What is the new three features of COM+ services, which are not there in COM (MTS)

0 Answers   TCS,


What is typical about a windows process in regards to memory allocation in .net?

0 Answers  


Can I write my own .net host?

0 Answers  


Define satelite assembly?

0 Answers  


What is static constructor, when it will be fired? And what is its use?

0 Answers  


What is the difference between vb.net and vc#.net?

0 Answers  


How many languages .NET is supporting now?

38 Answers   Dreamtech, IBS, Microsoft, Polaris, RDT, Softcon, Viscus Infotech,


What application do you use to install a Windows service?

1 Answers  


Categories