ParallelEnumerable.Zip<TFirst, TSecond, TResult> Method (ParallelQuery<TFirst>, ParallelQuery<TSecond>, Func<TFirst, TSecond, TResult>)
Merges in parallel two sequences by using the specified predicate function.
Assembly: System.Core (in System.Core.dll)
public static ParallelQuery<TResult> Zip<TFirst, TSecond, TResult>( this ParallelQuery<TFirst> first, ParallelQuery<TSecond> second, Func<TFirst, TSecond, TResult> resultSelector )
The first sequence to zip.
The second sequence to zip.
System.Func< , , >
A function to create a result element from two matching elements.
Return ValueType: System.Linq.ParallelQuery< >
A sequence that has elements of type TResult that are obtained by performing resultSelector pairwise on two sequences. If the sequence lengths are unequal, this truncates to the length of the shorter sequence.
The type of the elements of the first sequence.
The type of the elements of the second sequence.
The type of the return elements.
first or second or resultSelector is a null reference (Nothing in Visual Basic).
The query was canceled with the token passed in through WithCancellation.
One or more exceptions occurred during the evaluation of the query.
Available since 4.5
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Available since 8.1