In my previous post, I classified the different memory resources available in the .NET CLR and I explained the role of the IDisposable interface as well as the use of the Finalize() method.
In this post, I am going to talk more about the implementation details of IDisposable and Finalize().
For reference, I have split this matter into two posts:
- # 1 – What + Why + references
- #2 – A guide about ‘how to implement it’ + samples (this post)