Export (0) Print
Expand All
1 out of 3 rated this helpful - Rate this topic

Enumerable.Count Method

Returns the number of elements in a sequence.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member Count<TSource>(IEnumerable<TSource>) Returns the number of elements in a sequence.
Public method Static member Count<TSource>(IEnumerable<TSource>, Func<TSource, Boolean>) Returns a number that represents how many elements in the specified sequence satisfy a condition.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.