Stack<T>.Capacity Property

Definition

Gets the total numbers of elements the internal data structure can hold without resizing.

C#
public int Capacity { get; }

Property Value

Applies to

Proizvod Verzije
.NET 9, 10