August 2017
Intermediate to advanced
440 pages
10h
English
Extension properties can often be used interchangeably with extension functions. They are both most often used as top-level utils. Extension properties are used when we would like an object to have a property that was not developed natively. The decision as to whether we should use an extension function or an extension property is nearly the same as the decision as to whether we should use a function or property without a backing field inside a class. Just to remind you, according to convention, you should choose a property over a function when the underlying algorithm fulfills the following conditions:
Read now
Unlock full access