TYPE
Action<T>
Delegate accepting one T and returning void.
Formal Syntax & Structure
csharp syntaxcsharp
Action<T>Working Example
Example Snippetcsharp
using System;Action<int> show = n => Console.WriteLine(n);show(3);Delegate accepting one T and returning void.
Action<T>using System;Action<int> show = n => Console.WriteLine(n);show(3);