Question: what is expression body c#?
Answer: An expression-bodied method consists of a single expression that returns a value whose type matches the method's return type, or, for methods that return void , that performs some operation. ... It also defines a DisplayName method that displays a name to the console.