How can you clean up objects holding resources from within
the code?
Answers were Sorted based on User's Feedback
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 |
Which dll translate xml to sql in internet information server (iis)?
How many namespaces are in .net version 1.1?
What is the difference between .net and laravel?
Is .net a programming language?
What is jit compilers?
Usually in .net, the clr takes care of memory management. Is there any need for a programmer to explicitly release memory and resources? If yes, why and how?
What is data type and how many types of data types are in .NET ?
What is Custom attribute? How to create? Namespace? If I'm having custom attribute in an assembly, how to say that name in the code? What is Reflection in .NET?
3 Answers Accenture, CC Soft, Infosys,
what is the default value of CHAR type?in C# using asp.net?
Tell us what is the native image generator?
What's singlecall activation mode used for in .net?
.What is Marshaling?