TYPE
Func<T,TResult>
Delegate accepting T and returning TResult. The last type argument is the result.
Formal Syntax & Structure
csharp syntaxcsharp
Func<T,TResult>Working Example
Example Snippetcsharp
using System;Func<int,string> label = n => $"Item {n}";Console.WriteLine(label(3));