December 30, 2016

Comments Off on Getter-only autoproperties?

Getter-only autoproperties?

Sparked by a recent question on Stack Overflow, I thought I’d write up a post about this topic, both for my own reminder later and also to ensure I understand the concepts myself.

In this article I’ll dissect autoproperties in C# with only a getter, and how/why they can be written to in a constructor.


Continue reading...