In my understanding, this method only prevents GC from invoking Finalize method of the instance, it does not prevent GC from reclaiming the memory consumed by the instance? Right?
thanks in advance,
You ask a lot of questions that are easily answered by googling.
I'll give you a hint, check and compare the following google keywords with your original question:
Then check out one of the top results from the search for your answer.
Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime.
I have a further question about Dispose pattern after study.
What are "MANAGED resources"? As mentioned in the MSDN link "// Clear up MANAGED resources here."? In my understanding, managed resource is a C# class which implements IDisposable interface or have a Finalizer, and such class may have wrapped native resource. Not sure whether my understanding of the concept of managed resource is correct?
Originally Posted by Magos