C# Func
Func<T,TResult>
Encapsulates a method that has one parameter and returns a value of the type specified by the
TResult parameter.
Example
Func<string, int> stringLength = s => s.Length;
Console.WriteLine(stringLength("computer"));
https://www.programingtutorial.com/ccontinue.html
ReplyDelete