Applies a specified function to the corresponding elements of two sequences, producing a sequence of the results.
Namespace: SequencesAssembly: Sequences (in Sequences.dll) Version: 1.0.1.0 (1.0.1)
Syntax
Parameters
- first
- Type: Sequences ISequence TFirst
The first sequence to merge.
- second
- Type: System.Collections.Generic IEnumerable TSecond
The second sequence to merge.
- resultSelector
- Type: System Func TFirst, TSecond, TResult
A function that specifies how to merge the elements from the two sequences.
Type Parameters
- TFirst
- The type of the elements of first.
- TSecond
- The type of the elements of second.
- TResult
- The type of the elements of the result sequence.
Return Value
Type: ISequence TResultA sequence that contains merged elements of two input sequences.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type ISequence TFirst . When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).See Also