Garbage Collection Technology Sample

Garbage Collection Technology Sample

This sample introduces developers to garbage collection in the .NET Framework. The garbage-collected heap manages all class objects. This heap monitors the lifetime of objects and frees them only when no part of the program references the objects.

Readme Location

For more information, see the Readme file at <SDK>v1.1\Samples\Technologies\GarbageCollection

Concepts Presented in This Sample

memory management, samples; GC class, samples; WeakReference class, samples; Threading namespace, samples; Thread class, samples; generations, samples; promotion, samples; weak references, samples; Dispose method, samples; Finalize method, samples

© 2016 Microsoft