Enumerable.Count Method
.NET Framework (current version)
Returns the number of elements in a sequence.
Assembly: System.Core (in System.Core.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | Count<TSource>(IEnumerable<TSource>) | Returns the number of elements in a sequence. |
![]() ![]() | Count<TSource>(IEnumerable<TSource>, Func<TSource, Boolean>) | Returns a number that represents how many elements in the specified sequence satisfy a condition. |
Show:

