Auto properties have been a great addition to .NET development. They simplify the old method of coding properties using a local variable and a full implementation of
set. See “Creating an Automatically Implemented Property” in the later section “Language Features.”
However, up until 2015, auto properties required both a getter and a setter; this makes it hard to use them with immutable data types. The latest release now allows you to create auto properties as read only (with just the
get). A read-only backing field is created behind the scenes on your behalf. The following shows an example of a full property, a standard auto property, and the new read-only auto property.