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 is an assembly in dotnet?
What is use of hashtable in c#?
Difference between type constructor and instance constructor? What is static constructor, when it will be fired? And what is its use?
What is a namespace server?
What is variable in c#?
What is c# and why it is used for?
what is a constructor? What is a destructor?
How do you escape in c#?
How to install or uninstall a windows service?
How is a loop recorder monitored?
What is lazy in c#?
What is difference between list and ilist in c#?
Why should I use interface in c#?
Can partial class be inherited?
What are the advantages of interface in c#?