Returns a sequence of tuples, where each tuple is formed by associating an element of this sequence with the element at the same position in the second sequence.
If one of the two sequences is shorter than the other, placeholder elements are used to extend the shorter collection to the length of the other.
Namespace: SequencesAssembly: Sequences (in Sequences.dll) Version: 1.0.1.0 (1.0.1)
Syntax
Parameters
- second
- Type: System.Collections.Generic IEnumerable TSecond
The sequence providing the second half of each result pair.
- elem1
- Type: T
The element to be used to fill up the result if this sequence is shorter than second.
- elem2
- Type: TSecond
The element to be used to fill up the result if second is shorter than this sequence.
Type Parameters
- TSecond
- The type of the elements of second.
Return Value
Type: ISequence Tuple T, TSecondA sequence of tuples, where each tuple is formed by associating an element of the first sequence with the element at the same position in the second sequence. The length of the returned sequence is Max(this.Count, second.Count).
See Also