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 transparent caching with aop ?
Is void a class?
What is Reflection in .NET? Namespace? How will you load an assembly which is not referenced by current assembly?
List the difference between interface and abstract class?
What does dbml mean?
What are the generation of Garbage Collection in C# .NET ?
How can you prevent escaping on backslashes in C# with string definitions?
Why do we need structs in c#?
What is c# windows form application?
what is the Difference between the public and private ?
How Reflection is used and what it's significance ?
What is dbml file in c#?
What is thread safe in c#?
What is desktop GUI application?
what is IComparable