Class ArrayTraverse
- Namespace
- SunamoReflection
- Assembly
- SunamoReflection.dll
Traverses a multi-dimensional array by stepping through all index combinations.
public class ArrayTraverse
- Inheritance
-
ArrayTraverse
- Inherited Members
- Extension Methods
Constructors
ArrayTraverse(Array)
Initializes a new instance for traversing the specified array.
public ArrayTraverse(Array array)
Parameters
arrayArrayThe array to traverse.
Fields
Position
The current position in the multi-dimensional array.
public int[] Position
Field Value
- int[]
Methods
Step()
Advances the position to the next element in the array.
public bool Step()
Returns
- bool
True if there are more elements, false if traversal is complete.