C# Language C# 6.0: Initialize an Auto-Implemented Property


Example

Create a property with getter and/or setter and initialize all in one line:

public string Foobar { get; set; } = "xyz";