hi all
i am completely confused about close, dispose, finalize, GC, Idisposable. Oh, could you please send me a clear description of them?
hi all
i am completely confused about close, dispose, finalize, GC, Idisposable. Oh, could you please send me a clear description of them?
That is a fairly large topic. May I recommend the book CLR via C# by Richter. It goes into details about all the issues you mention.
A very brief translation:
For more details please consult the book. This rather elaborate blog entry by Joe Duffy is also very useful for understanding IDisposable and finalizers.