แก้ไข

แชร์ผ่าน


GCMemoryInfo.Generation Property

Definition

Gets the generation this GC collected. Collecting a generation also collects younger generations.

public:
 property int Generation { int get(); };
public int Generation { get; }
member this.Generation : int
Public ReadOnly Property Generation As Integer

Property Value

The generation this GC collected.

Applies to