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 the difference between convert and parse in c#?
What to implement on my class Finalize or IDisposable
Where is c# compiler located?
what is the Difference between the public and private ?
What are immutable types in c#?
What is icomparer in c#?
What is the difference between ienumerable and iqueryable?
Can hashtable have duplicate keys in c#?
What is ado c#?
What are satellite assemblies? How will you get the different language strings?
Where do we use static class in c#?
What is the advantage of singleton class?
Explain about Error handling and how this is done
What is the benefit of interface in c#?
Explain About Virtual functions and their use.