O'Reilly logo

.NET Common Language Runtime Unleashed by Kevin Burton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. Memory/Resource Management

In This Chapter

Much of the reason that managed code is called managed is because resources—and in particular, memory that is allocated by managed code—is managed. Responsibility for the deallocation of the memory does not rest with the programmer. With unmanaged code, all memory that is allocated requires the programmer to deallocate it. The CLR has a good scheme for managing the memory allocation and deallocation for an application. The CLR gives the programmer a world-class general-purpose garbage collector that frees the programmer from undue concern about memory allocation and deallocation. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required