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
How long does it take to learn c# programming?
What is the use of functional interface?
Is as operator in c#?
What is the difference between writeline and write in c#?
Why cannot you specify the accessibility modifier for methods inside the interface?
Illustrate the differences between the system.array.copyto() and system.array.clone()?
Illustrate serialization?
Explain the difference between the system.array.copyto() and system.array.clone()?
What is the function of the not null constraint?
what are the differences between a class and structure
What is c# commonly used for?
How are methods overloaded?
Is namespace a class?
What is native image generator (ngen.exe)?
Can I use ReaderWriterLock instead of Monitor.Enter/Exit for Threading?