Backend line

Expression-Bodied Members

=> members, = vs =>, recomputation, async eliding

1 sections

Start: Expression-Bodied Members

Mid-level 1

  1. Expression-Bodied MembersAn expression-bodied member replaces a block body { return …; } with => expression;. It is pure syntax: the compiler emits the same IL as the equivalent block body, so there is no runtime difference. C# 6 allowed it for methods,…, not read