Lambda syntax with statement block body
suggest changeFunc<int, string> doubleThenAddElevenThenQuote = i => {
var doubled = 2 * i;
var addedEleven = 11 + doubled;
return $"'{addedEleven}'";
};
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents