The System.GC Type
The base class libraries provide a class type named System.GC that allows you to programmatically
interact with the garbage collector using a set of static members. Now, do be very aware that you
will seldom (if ever) need to make use of this type directly in your code. Typically speaking, the only
time you will make use of the members of System.GC is when you are creating types that make use of
unmanaged resources. Table 8-1 provides a rundown of some of the more interesting members
(consult the .NET Framework 3.5 SDK documentation for complete details).
Table 8-1.
Select Members of the System.GC Type
Do'stlaringiz bilan baham: |