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
Will the following code compile?
Is null or empty in c#?
Where do I put dll files?
Why data types are important?
What is difference between list and ilist in c#?
What do you mean by casting a data type?
If you define a user defined data type by using the class keyword, is it a value type or reference type?
Why does my windows application pop up a console window every time I run it?
What are functions c#?
What is lock in c#?
What is singleordefault?
What is constructor overloading in c#?
What are the access modifiers in c#?
In .NET which is the smallest unit of execution?
Which string method is used for concatenation of two strings in c#?