Array.ForEach Generic Method
Assembly: mscorlib (in mscorlib.dll)
The type of the elements of the array.
The one-dimensional, zero-based Array on whose elements the action is to be performed.
The Action to perform on each element of array.
array is a null reference (Nothing in Visual Basic).
action is a null reference (Nothing in Visual Basic).
The Action is a delegate to a method that performs an action on the object passed to it. The elements of array are individually passed to the Action.
This method is an O(n) operation, where n is the Length of array.
Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.