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
what is the purpose of using statement in c#
What does args mean in c#?
Why do we use delegates?
Can I use ReaderWriterLock instead of Monitor.Enter/Exit for Threading?
What is an array of arrays called?
What is difference between function and method in c#?
Explain how to implement delegates in c#.net
What is linq c#?
How do I create a .exe file?
Explain when should you call the garbage collector in .net?
How do I make a dll in c#?
What are native methods?
The int maps to which C# keyword in .NET type?
Why is ienumerable used?
Are structs value types or reference types?