Whetstone Class reference
Whetstone Class reference
Whetstone
WhetStone Namespaces
WhetStone.Looping
zip Class
zip Methods
Zip Method
Zip(T) Method (IEnumerable(IEnumerable(T)))
Zip Method (IEnumerable(IEnumerable))
Zip(T) Method (IList(IList(T)))
Zip Method (IList(IList))
Zip(T1, T2) Method (IEnumerable(T1), IEnumerable(T2))
Zip(T1, T2) Method (IList(T1), IList(T2))
Zip(T1, T2, T3) Method (IEnumerable(T1), IEnumerable(T2), IEnumerable(T3))
Zip(T1, T2, T3) Method (IList(T1), IList(T2), IList(T3))
Zip(T1, T2, T3, T4) Method (IEnumerable(T1), IEnumerable(T2), IEnumerable(T3), IEnumerable(T4))
Zip(T1, T2, T3, T4) Method (IList(T1), IList(T2), IList(T3), IList(T4))
Zip(T1, T2, T3, T4, T5) Method (IEnumerable(T1), IEnumerable(T2), IEnumerable(T3), IEnumerable(T4), IEnumerable(T5))
Zip(T1, T2, T3, T4, T5) Method (IList(T1), IList(T2), IList(T3), IList(T4), IList(T5))
zip
Zip
T1
,
T2
Method (IEnumerable
T1
, IEnumerable
T2
)
Get all the elements in two
IEnumerable
T
s spliced together.
Namespace:
WhetStone.Looping
Assembly:
WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
Copy
public
static
IEnumerable
<
Tuple
<T1, T2>>
Zip
<T1, T2>(
this
IEnumerable
<T1>
a
,
IEnumerable
<T2>
b
)
Parameters
a
Type:
System.Collections.Generic
IEnumerable
T1
The first
IEnumerable
T
.
b
Type:
System.Collections.Generic
IEnumerable
T2
The second
IEnumerable
T
.
Type Parameters
T1
The type of the first
IEnumerable
T
.
T2
The type of the second
IEnumerable
T
.
Return Value
Type:
IEnumerable
Tuple
T1
,
T2
The
IEnumerable
T
s, spliced together.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerable
T1
. 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)
.
Remarks
The result is only as long as the shortest input
See Also
Reference
zip Class
Zip Overload
WhetStone.Looping Namespace