Lezen in het Engels Bewerken

Delen via


GCMemoryInfo.Generation Property

Definition

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

C#
public int Generation { get; }

Property Value

The generation this GC collected.

Applies to

Product Versies
.NET 5, 6, 7, 8, 9, 10