Intersoft ClientUI Documentation
Zip<T0,T1,R> Method



The type of the first sequence.
The type of the second sequence.
The return type of the function.
The first sequence.
The second sequence.
The function to apply to the corresponding values from the two sequences.
Accepts two sequences and applies a function to the corresponding values in the two sequences.
Syntax
Public Shared Function Zip
    (Of T0,T1,R)( _
   ByVal enumerable0 As IEnumerable(Of T0), _
   ByVal enumerable1 As IEnumerable(Of T1), _
   ByVal func As Func(Of T0,T1,R) _
) As IEnumerable(Of R)
Dim enumerable0 As IEnumerable(Of T0)
Dim enumerable1 As IEnumerable(Of T1)
Dim func As Func(Of T0,T1,R)
Dim value As IEnumerable(Of R)
 
value = IEnumerableHelper.Zip(Of T0, T1, R)(enumerable0, enumerable1, func)
public:
static IEnumerable<R^>^ Zipgeneric<typename T0>
generic<typename T1>
generic<typename R>
( 
   IEnumerable<T0^>^ enumerable0,
   IEnumerable<T1^>^ enumerable1,
   Func<T0^,T1^,R^>^ func
) 

Parameters

enumerable0
The first sequence.
enumerable1
The second sequence.
func
The function to apply to the corresponding values from the two sequences.

Type Parameters

T0
The type of the first sequence.
T1
The type of the second sequence.
R
The return type of the function.

Return Value

A sequence of transformed values from both sequences.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IEnumerableHelper Class
IEnumerableHelper Members

Send Feedback