 | zipZipT1, T2, T3, T4 Method (IEnumerableT1, IEnumerableT2, IEnumerableT3, IEnumerableT4) |
Get all the elements in four
IEnumerableTs spliced together.
Namespace:
WhetStone.Looping
Assembly:
WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntaxpublic static IEnumerable<Tuple<T1, T2, T3, T4>> Zip<T1, T2, T3, T4>(
this IEnumerable<T1> a,
IEnumerable<T2> b,
IEnumerable<T3> c,
IEnumerable<T4> d
)
Parameters
- a
- Type: System.Collections.GenericIEnumerableT1
The first IEnumerableT. - b
- Type: System.Collections.GenericIEnumerableT2
The second IEnumerableT. - c
- Type: System.Collections.GenericIEnumerableT3
The third IEnumerableT. - d
- Type: System.Collections.GenericIEnumerableT4
The fourth IEnumerableT.
Type Parameters
- T1
- The type of the first IEnumerableT.
- T2
- The type of the second IEnumerableT.
- T3
- The type of the third IEnumerableT.
- T4
- The type of the fourth IEnumerableT.
Return Value
Type:
IEnumerableTupleT1,
T2,
T3,
T4The
IEnumerableTs, spliced together.
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).
RemarksThe result is only as long as the shortest input
See Also