Method countItems
countItems(Collections.Generic.IEnumerable<T>)
Count the number of items in an enumerable by enumeration
Declaration
protected static int countItems(Collections.Generic.IEnumerable<T> items)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<T> | items | The enumerable to count |
Returns
Type | Description |
---|---|
System.Int32 | The size of the enumerable |