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 use of return in c#?
What is the difference between throw and throw ex?
What is difference between int and int in c#?
How do I unload an application domain?
What is difference between an Structure and Class?
What are circular references?
Explain acid rule of thumb for transactions in c#.
What is an actual parameter?
What is super class in c#?
What is yield break in c#?
Explain the difference between “as” and “is” operators used in c#?
What is Private Constructor? and it’s use? Can you create instance of a class which has Private Constructor?
Do while loops yes or no c#?
Can we make a Static Constructor Parameterized? Give Reason with your answer
What does an indexer do?