ISequence T  Zip TSecond  Method A Sandcastle Documented Class Library
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 longer than the other, its remaining elements are ignored.

Namespace: Sequences
Assembly: Sequences (in Sequences.dll) Version: 1.0.1.0 (1.0.1)
Syntax
ISequence<Tuple<T, TSecond>> Zip<TSecond>(
	IEnumerable<TSecond> second
)

Parameters

second
Type: System.Collections.Generic IEnumerable TSecond 
The sequence providing the second half of each result pair.
Type Parameters
TSecond
The type of the elements of second.

Return Value

Type: ISequence Tuple T, TSecond  
A 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 Min(this.Count, second.Count).
See Also