Expression bodies are expanded from the offering in C# 6, and you can now use them in more places, for example, as object constructors and property setters. Here, we extend our previous example to include the setting up of the value on the property we were previously just reading:
private static string text;public static string Text{ get => text ?? $"Today: {DateTime.Now:r}"; set => text = value;}