July 2022
Intermediate to advanced
660 pages
12h 41m
English
In this chapter, we will be looking at object generations and how to avoid memory issues, followed by a discussion on strong and weak references. Then, we will look at finalization and how we can suppress finalization by implementing the IDisposable pattern to clean up managed and unmanaged resources. Finally, we will take a high-level look at ways to avoid memory leaks.
In this chapter, we will be covering the following topics:
Read now
Unlock full access