Edit

Share via


Stack<T>.Capacity Property

Definition

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

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

Property Value

Applies to