How to make sure custom class supports deterministic
finalization?
Answer Posted / sandeep negi
By implementing IDisposable interface! Try to use 'using'
block so that after executing this block its dispose method
will be called automaticaly.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
In which order the destructor is called for an inherited class?
Why do we use interface in c#?
What is a collection in c#?
How to sign an assembly with strong name?
What is the difference between list and ilist in c#?
What is the difference between “out” and “ref” parameters in c#?
What is the usage of Enumeration in C# Programming and is it good to use or not ?
In a single .NET DLL how many classes it contains?
Explain the 3 types of properties in c# with an example?
What is wcf c#?
Is string primitive?
What is difference between for and foreach in c#?
What is array formula?
Does c# have primitives?
Differentiate between copy and default constructor.