The inline
keyword can be applied to custom accessors on a property,
if those accessors do not reference the backing field behind the property.
If you want both accessors to be inline
, you can apply inline
to the
property itself, as is shown in this snippet.
You can learn more about this in:
Tags: