Login
From:
Passion for Coding
(Uncensored)
subscribe
Expression Bodied vs. Auto Read-Only Properties
https://coding.abel.nu/2017/10/expression-bodied-vs-auto-read-only-properties/
links
backlinks
Tagged with:
c#
language basics
Roast topics
Find topics
Find it!
C#6 brought some nice short-hand ways of handling properties. I really like them, because they take away much boilerplate code. But as with all new tools, it’s easy to use them wrongly until they are familiar.