How to make sure custom class supports deterministic
finalization?



How to make sure custom class supports deterministic finalization?..

Answer / 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

More C Sharp Interview Questions

What is the full form of GAC? Explain its uses?

0 Answers   PUCIT,


Explain about CTS?

0 Answers   Microsoft,


What is gridview c#?

0 Answers  


Explain the constructor in c#.

0 Answers  


Do extension methods have to be static?

0 Answers  






What is attribute c#?

0 Answers  


What is the usage of transponders?

0 Answers   Wipro,


Explain types of comment in c# with examples

0 Answers  


Is an array an object c#?

0 Answers  


What are the generation of Garbage Collection in C# .NET ?

0 Answers   MCN Solutions,


If a method's return type is void, can you use a return keyword in the method?

0 Answers  


Which attribute is used in order that the method can be used as webservice?

0 Answers  


Categories