C++ C#

AddTo<T, C>(this Iterator<T>^, C^) Method

Class: IteratorHelpers

Adds the objects of type T returned by the iterator to a collection of type T objects

public C^ AddTo<T, C>(this Iterator<T>^ iterator, C^ collection)

Parameters

Type Name Description
this Iterator<T>^ iterator
C^ collection

Returns: C^