Memory Management
Memory management was introduced in this chapter. Concepts such as root objects, reference trees, generations, and finalization queues were reviewed. The next chapter expands the conversation to include the disposable pattern, weak references, unsafe pointers, and other topics related to memory management.
Understanding the managed paradigm to memory management is particularly important to C-based and C++-based programmers. C programmers are accustomed to managing their own memory with minimal assistance from the environment. For them, memory management in .NET represents a different mindset, which includes adopting different best practices for allocating, managing, and releasing memory. Some C developers perceive the managed ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access