Method EnsureCapacity
EnsureCapacity(int)
Ensures that the capacity of this list is at least the specified capacity.
Declaration
public int EnsureCapacity(int capacity)Parameters
| Type | Name | Description | 
|---|---|---|
| int | capacity | 
Returns
| Type | Description | 
|---|---|
| int | The new capacity of this list. | 
