PROPERTY
List<T>.Capacity
Reports allocated element capacity, which is at least Count.
Formal Syntax & Structure
csharp syntaxcsharp
items.CapacityWorking Example
Example Snippetcsharp
var items = new System.Collections.Generic.List<int>(8); int capacity = items.Capacity;