C# 6.0 Initialize an Auto-Implemented Property
suggest changeCreate a property with getter and/or setter and initialize all in one line:
public string Foobar { get; set; } = "xyz";
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents