This topic has not yet been rated - Rate this topic

Collection<T>.LongCount Method

.NET Framework 3.5

Returns an Int64 that represents 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.

  NameDescription
Public Extension Method LongCount() Returns an Int64 that represents the total number of elements in a sequence. (Defined by Enumerable.)
Public Extension Method LongCount(Func<T, Boolean>) Returns an Int64 that represents how many elements in a sequence satisfy a condition. (Defined by Enumerable.)
Top
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.