IEnumerable.forEach Method

Applies a function to every element in the sequence.
 

Parameters

func

Type: Function
Function to apply.
thisArg

Type: Object
Object to use as this when executing func.

Return Value


Type: IEnumerable
The sequence.