C++ C#

AddTo<T, C, V>(this Iterator^, 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^ iterator, C^ collection, Func<T, V>^ m)

Parameters

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

Returns: C^