Encapsulation and Automatic properties in C# 3.0(lowendahl.net)
submitted by
lowendahl(750) 4 years, 5 months ago
With C# 3.0 MS realeases Automatic Properties as a simplified encapsulation that generates getters and setters for a similary automated backing field. But is this really the way to go? Should you have dumb getters/setters or are you violating YAGNI when doing so? What are the rational behind MS decision to do so. This post address all thoose questions.
|category: C#
|Views: 38
tags:
C#3.0 C# another
Everyones tags:
Your Tags: