IEnumerable<T>.Count Method
Returns the number of elements in a sequence.
| Name | Description | |
|---|---|---|
|
Count() | Returns the number of elements in a sequence. (Defined by Enumerable.) |
|
Count(Func<T, Boolean>) | Returns a number that represents how many elements in the specified sequence satisfy a condition. (Defined by Enumerable.) |