Click or drag to resize

zipUnBoundZipUnBoundT1, T2 Method (IEnumerableT1, IEnumerableT2, T1, T2)

Namespace:  WhetStone.Looping
Assembly:  WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
public static IEnumerable<Tuple<T1, T2>> ZipUnBound<T1, T2>(
	this IEnumerable<T1> this,
	IEnumerable<T2> other,
	T1 nilValue1,
	T2 nilValue2
)

Parameters

this
Type: System.Collections.GenericIEnumerableT1
The first IEnumerableT.
other
Type: System.Collections.GenericIEnumerableT2
The second IEnumerableT.
nilValue1
Type: T1
The default value to assign when this has ended.
nilValue2
Type: T2
The default value to assign when other has ended.

Type Parameters

T1
The type of the first IEnumerableT.
T2
The type of the second IEnumerableT.

Return Value

Type: IEnumerableTupleT1, T2
this transposed, filling ended IEnumerableTs with nilValue1 or nilValue2.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableT1. 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