Download CD Content
In this chapter, you will learn how to:
How Microsoft .NET memory management differs from traditional C++ memory management
How to provide finalizers for your classes
How to implement a Dispose method for your classes
Now that you know how to create objects in C++ using the new operator, you’ll learn how object lifetimes are controlled in managed C++ and see how the managed approach differs from the traditional new-and-delete approach.