FirstOrDefault Method

Task Parallel System.Threading

Overload List

  NameDescription
FirstOrDefault<(Of <(TSource>)>)(ParallelQuery<(Of <(TSource>)>))
Returns the first element of a parallel sequence, or a default value if the sequence contains no elements.
FirstOrDefault<(Of <(TSource>)>)(ParallelQuery<(Of <(TSource>)>), Func<(Of <(TSource, Boolean>)>))
Returns the first element of the parallel sequence that satisfies a condition or a default value if no such element is found.

See Also