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.
Answers were Sorted based on User's Feedback
Answer / amit kumar mishra
public void Dispose()
{
GC.SupressFinalize(this);
}
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / imatoria
http://msdn.microsoft.com/en-us/magazine/cc163392.aspx
Is This Answer Correct ? | 0 Yes | 1 No |
How do you create user defined data types in c#?
Explain the difference between the system.array.copyto() and system.array.clone()?
What is oledbconnection c#?
For read-only operation which property you have to designated?
I want to single value if you give any integer value. Below are examples 1. Input: 123 Output: 6 2. Input: 99 9+9=18 1+8 Output: 9 How to get above output?
What is tuple in c#?
Can multiple catch blocks be executed?
What is AutoMapper in C#?
Are private members inherited in c#?
Is array reference type in c#?
What is the full form of GAC? Explain its uses?
What is .cshtml file?