I created a class which is inherited from interface
IDisposable. Now if I use object of this class with using
keyword. Then How the dispose method will get call. Does
garbage collector call it or some else.
Answer Posted / imatoria
http://msdn.microsoft.com/en-us/magazine/cc163392.aspx
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What does a constructor do c#?
Is multilevel inheritance possible in c#?
What is nameof c#?
What is an interface class? Give one example of it
What is the difference between ienumerable and icollection?
What is msil in c#?
Why does my windows application pop up a console window every time I run it?
What does ienumerable mean?
What is the use of protected in c#?
Define collections?
What is difference between abstraction and encapsulation in c#?
Explain the advantage of using system.text.stringbuilder over system.string?
Can I do things in il that I can't do in c#?
Is array ienumerable c#?
What is a linq in c#?