The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
ParallelEnumerable::DefaultIfEmpty Method
.NET Framework (current version)
Returns the elements of the specified parallel sequence or the specified value in a singleton collection if the sequence is empty.
Assembly: System.Core (in System.Core.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | DefaultIfEmpty<TSource>(ParallelQuery<TSource>^) | Returns the elements of the specified parallel sequence or the type parameter's default value in a singleton collection if the sequence is empty. |
![]() ![]() | DefaultIfEmpty<TSource>(ParallelQuery<TSource>^, TSource) | Returns the elements of the specified parallel sequence or the specified value in a singleton collection if the sequence is empty. |
Show:

