C++ C#

AddTo<T, C, V>(this Iterator<T>, C, Func<T, V>) Method

Class: IteratorHelpers

Calls delegate f on each object of type T returned by the iterator and then adds the returned object of type V to a collection of type V objects

public C AddTo<T, C, V>(this Iterator<T> iterator, C collection, Func<T, V> m)


Type Name Description
this Iterator<T> iterator
C collection
Func<T, V> m

Returns: C