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 private and shared assembly?
What is the difference between Decorator and Adapter pattern?
if a method is marked as protected internal who can access it?
For read-only operation which property you have to designated?
Explain the types of comments in c#?
What is the difference between firstordefault and singleordefault?
What is icomparable in c#?
Why do we need singleton class in c#?
Distinguish between continue and break statement?
What is remote data?
What is the difference between interface and inheritance in c#?
What is global namespace in c#?
what is IDisposal interface
Explain About Assembly in .NET, types of assemblies, their difference, How to register into GAC. How to generate the strong names & its use.
What is the difference between gettype and typeof in c#?