ISequence T  ZipAll 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 shorter than the other, placeholder elements are used to extend the shorter collection to the length of the other.

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

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, 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 Max(this.Count, second.Count).
See Also