Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# arrow

// Make a new lambda function
Func<string, string> greet = (name) => $"Hello, {name}!";

// Call it
Console.WriteLine(greet("John"));
 
PREVIOUS NEXT
Tagged: #arrow
ADD COMMENT
Topic
Name
9+5 =