public delegate void Action<T>(T obj);
Object
Delegate
Action<T>This type implements ICloneable.
mscorlib
BCL
Represents the method that performs an action on the specified object.
- obj
- The object on which to perform an action.
[Note: This delegate is used by the method System.Array.ForEach(T[], Action<T>)
, and in List<T> to perform an action on each element of the collection.]
System Namespace