[]
Applies a specified function to the corresponding elements of two sequences, producing a sequence of the results
public static IEnumerable<TR> ZipEx<T1, T2, TR>(this IEnumerable<T1> first, IEnumerable<T2> second, Func<T1, T2, TR> selector)
Type | Name | Description |
---|---|---|
IEnumerable<T1> | first | The first sequence to merge |
IEnumerable<T2> | second | The second sequence to merge |
Func<T1, T2, TR> | selector | A function that specifies how to merge the elements from the two sequences |
Type | Description |
---|---|
IEnumerable<TR> | An IEnumerable<T> that contains merged elements of two input sequences |
Name | Description |
---|---|
T1 | The type of the elements of the first input sequence |
T2 | The type of the elements of the second input sequence |
TR | The type of the elements of the result sequence |
Applies a specified function to the corresponding elements of two sequences, producing a sequence of the results
public static IEnumerable<TR> ZipEx<T1, T2, TR>(this IEnumerable<T1> first, IEnumerable<T2> second, Func<int, T1, T2, TR> selector)
Type | Name | Description |
---|---|---|
IEnumerable<T1> | first | The first sequence to merge |
IEnumerable<T2> | second | The second sequence to merge |
Func<int, T1, T2, TR> | selector | A function that specifies how to merge the elements from the two sequences |
Type | Description |
---|---|
IEnumerable<TR> | An IEnumerable<T> that contains merged elements of two input sequences |
Name | Description |
---|---|
T1 | The type of the elements of the first input sequence |
T2 | The type of the elements of the second input sequence |
TR | The type of the elements of the result sequence |