System::Collections::Generic::IEnumerable::LINQ_Zip method

IEnumerable::LINQ_Zip(SharedPtr<IEnumerable<TSecond>>, const Func<T, TSecond, TResult>&) method

Applies a specified function to the corresponding elements of two sequences, producing a sequence of the results.

template<typename TSecond,typename TResult> SharedPtr<IEnumerable<TResult>> System::Collections::Generic::IEnumerable<T>::LINQ_Zip(SharedPtr<IEnumerable<TSecond>> second, const Func<T, TSecond, TResult> &resultSelector)
ParameterDescription
TSecondThe type of the elements of the second input sequence.
TResultThe type of the elements of the result sequence.
ParameterTypeDescription
secondSharedPtr<IEnumerable<TSecond>>The second sequence to merge.
resultSelectorconst Func<T, TSecond, TResult>&A function that specifies how to merge the elements from the two sequences.

ReturnValue

An System::Collections::Generic::IEnumerable that contains merged elements of two input sequences.

See Also

IEnumerable::LINQ_Zip(SharedPtr<IEnumerable<TSecond>>, const Func<TFirst, TSecond, TResult>&) method

template<typename TSecond,typename TResult> SharedPtr<IEnumerable<TResult>> System::Collections::Generic::IEnumerable<T>::LINQ_Zip(SharedPtr<IEnumerable<TSecond>> second, const Func<TFirst, TSecond, TResult> &resultSelector)

See Also