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.
For more information, see the Readme file at
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