Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ParallelEnumerable.DefaultIfEmpty Method

Returns the elements of the specified parallel sequence or the specified value in a singleton collection if the sequence is empty.

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 Supported by Portable Class Library 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.
Public method Static member Supported by Portable Class Library 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.
Top
Show:
© 2015 Microsoft