Select<TResult> method
Applies a mapping function to the elements in the enumerable.
During iteration, the selector
function is applied to each element. The
returned value of that function is then provided as the next element of the
resulting enumerable.
Implementation
Enumerable<TResult> Select<TResult>(Selector<T, TResult> selector) {
assert(selector != null);
return SelectEnumerable<T, TResult>(this, selector);
}