From C#/.NET Little Wonders: Expression-Bodied Members in C# 6:
So, should you use this? It all comes down to style. My gut would be to limit this to simple expressions and statements that can clearly be understood at first glance.
(emphasis, mine; see Update 1 below)
More from the Summary of the article above:
So C# 6 now gives us the ability to specify get-only property and method bodies with expressions. This can help reduce the syntax burden of very simple methods to make your code more concise.
However, with all things, use your judgment on whether it fits for any given situation. When an expression is very long or complex, using the full body syntax may still be more readable.
And another quote about performance, because performance problems can also play into when it's appropriate to use a certain language feature:
Now, you may ask, does this have any performance implications at runtime? Actually, the answer is no. This is simply syntactical sugar that expands into the same IL as writing the full body. It does not create a delegate, it is simply borrowing the lambda expression syntax to simplify writing simple bodies that result in an expression.
(emphasis, the author)
Update 1: @JörgWMittag said
This makes no sense. "limit this to simple expressions and statements"? Huh? It doesn' even work with statements, only with expressions!
It appears the original author may have misspoke. To clarify, from The New and Improved C# 6.0:
Expression bodied functions are another syntax simplification in C# 6.0. These are functions with no statement body. Instead, you implement them with an expression following the function declaration.
To be clear, this doesn't make a method or property an Expression. It utilizes the Expression syntax to reduce the lines of code (and numbers of curly braces).
My original recommendation still stands: Use it when it makes your code obvious and easier to understand, not simply because you can use it.
public override string ToString() => $"{_field1} {_field2}";
? – Thaoden Aug 24 '15 at 17:15