Property Capacity
Capacity
The number of elements that fit in the current allocation.
Declaration
public int Capacity { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| int | The number of elements that fit in the current allocation. |
Implements
Exceptions
| Type | Condition |
|---|---|
| ArgumentOutOfRangeException | Thrown if the new capacity is smaller than the length. |