Looking for c# Keywords? Try Ask4Keywords

C# Language Синтаксис Lambda с телом блока оператора


пример

Func<int, string> doubleThenAddElevenThenQuote = i => {
    var doubled = 2 * i;
    var addedEleven = 11 + doubled;
    return $"'{addedEleven}'";
};