list class : Count getter
Description
Gets the number of elements that contained in the list.
Syntax
listInstance.Count
Arguments
None
Return value
Class | Description |
int | The number of elements that contained in the list. |
Sample code
//anyList is a instance of list type.
int number = anyList.Count;
Notes
It's a wrapper of the System.Collections.Generic.List<t>.Count.