Table of Contents

Class ArrayExtensions

Namespace
SunamoReflection
Assembly
SunamoReflection.dll

Extension methods for the Array type.

public static class ArrayExtensions
Inheritance
ArrayExtensions
Inherited Members

Methods

ForEach(Array, Action<Array, int[]>)

Iterates over every element in a multi-dimensional array and invokes the specified action with the array and current indices.

public static void ForEach(this Array array, Action<Array, int[]> action)

Parameters

array Array

The array to iterate over.

action Action<Array, int[]>

The action to invoke for each element, receiving the array and current indices.