Map
Builds a new collection whose elements are the results of applying the given mapping
function to each of the elements of the collection.
It works just like Select
method of System.Linq
.
Parameters
Returns
Func<T, TResult> mapping
IEnumerable<T> source
IEnumerable<TResult>
Usage
Multiplying the values by two
Last updated
Was this helpful?