FoldBack2
Applies a function to corresponding elements of two collections, starting from the end, threading an accumulator argument through the computation.
Parameters | Returns |
Func<T, T2, TState, TState> folder IEnumerable<T> source IEnumerable<T2> source2 TState state | TState |
Usage
Accumulating the bigger value in the same position of these two collections
When the type of elements in your collection are: int
, decimal
, double
, string
or bool
you can also use this function combined with the Operations
described in operations section as folder functions.
Using an operation as a folder
Last updated