Enumerable.LongCount<'TSource> Method (IEnumerable<'TSource>, Func<'TSource, Boolean>)
Returns an Int64 that represents how many elements in a sequence satisfy a condition.
Assembly: System.Core (in System.Core.dll)
static member LongCount<'TSource> : source:IEnumerable<'TSource> * predicate:Func<'TSource, bool> -> int64
An IEnumerable<'T> that contains the elements to be counted.
Return ValueType: System.Int64
A number that represents how many elements in the sequence satisfy the condition in the predicate function.
The type of the elements of source.
Available since 8
Available since 3.5
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 8.1