Property Length
Length
The count of elements.
Declaration
public int Length { readonly get; set; }
Property Value
| Type | Description | 
|---|---|
| int | The current count of elements. Always less than or equal to the capacity.  | 
    
Implements
Remarks
To decrease the memory used by a list, set Capacity after reducing the length of the list.