March 2004
Intermediate to advanced
560 pages
26h 47m
English
public sealed class GC { // Properties MS public static int MaxGeneration { get; } // Methods MS public static void Collect (); MS CF public static void Collect (int generation); MS CF public static int GetGeneration (object obj); MS CF public static int GetGeneration (WeakReference wo); MS public static long GetTotalMemory (bool forceFullCollection); public static void KeepAlive (object obj); public static void ReRegisterForFinalize (object obj); public static void SuppressFinalize (object obj); public static void WaitForPendingFinalizers (); }
|
JM You will notice that there is neither a Collect method nor a Generation property in this class. They were there originally, but were removed, after much discussion and debate, because ... |
Read now
Unlock full access