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
How can I tell if .net 3.5 is installed?
Is .net a language?
Compare client server application with n-tier application
What is the purpose of IClonable interface in .NET?
What is an interface and what is an abstract class? Please, expand by examples of using both. Explain why?
How many types of transactions are there in com + .net ?
Is there built-in support for logging?
What are the similarities and difference between class and structure in .net?
Is .net 4.8 backwards compatible?
What is .net technology?
Explain how to load the contents of an xml file into an xmldocument object?
If a dataset contains 100 rows, how to fetch rows between 5 and 15 only?
What is delegation in .net?
Can I write my own .net host?
What are multicast delegates?