Getter-only


C# 6 features – Auto-property initializers

Properties were always a more powerful version of fields. But sometimes you just want them to behave the same and the concise notation was not available. It’s fixed in C# 6.