Free mag vol1 | Page 23

 CONTENTS Summary .......................................................................................................................470  Chapter 13: Understanding Object Lifetime ........................................................473 Classes, Objects, and References .................................................................................473 The Basics of Object Lifetime ........................................................................................475 The CIL of new...................................................................................................................................... 475 Setting Object References to null ......................................................................................................... 477 The Role of Application Roots........................................................................................477 Understanding Object Generations ................................................................................479 Concurrent Garbage Collection Under .NET 1.0–3.5 ......................................................480 Background Garbage Collection Under .NET 4.0 and Greater........................................481 The System.GC Type.....................................