1 <Type Name="Action<T>" FullName="System.Action<T>">
2 <TypeSignature Language="C#" Value="public delegate void Action<T>(T obj);" />
3 <TypeSignature Language="ILAsm" Value=".class public auto ansi sealed Action`1<T> extends System.MulticastDelegate" />
5 <AssemblyName>DocTest</AssemblyName>
6 <AssemblyVersion>0.0.0.0</AssemblyVersion>
9 <TypeParameter Name="T" />
12 <BaseTypeName>System.Delegate</BaseTypeName>
15 <Parameter Name="obj" Type="T" />
18 <ReturnType>System.Void</ReturnType>
21 <typeparam name="T">To be added.</typeparam>
22 <param name="obj">The object on which to perform an action.</param>
24 <para> Represents the method that performs an action on the specified object.</para>
27 <block subset="none" type="note">
28 <para>This delegate is used by the method <see cref="M:System.Array.ForEach" />
29 <see langword="(T[], Action<T>)" />, and in <see cref="T:System.Collections.Generic.List<T>" /> to perform an action on each element of the collection.</para>