System.Action<T> Delegate

public delegate void Action<T>(T obj);

Base Types

Object
  Delegate
    Action<T>

This type implements ICloneable.

Assembly

mscorlib

Library

BCL

Summary

Represents the method that performs an action on the specified object.

Parameters

obj
The object on which to perform an action.

Description

[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.

]

See Also

System Namespace