C++ C#

ForEach<T>(this Iterator, Action<T>) Method

Class: IteratorHelpers

Performs the specified action on each object of type T returned by the iterator

public void ForEach<T>(this Iterator iterator, Action<T> action)

Parameters

Type Name Description
this Iterator iterator the iterator
Action<T> action a delegate that performs the specified action

Returns: void