Re:The future of C# and Visual Basic [video]
by andrea_s on Monday November 03, 2014 @10:42AM
(#8551304)
Are you saying that it's going to be equivalent to a non-private getter, private setter automatic property as it is now?
[ Parent
| on HN ]
Re:The future of C# and Visual Basic [video]
by jdmichal on Monday November 03, 2014 @11:10AM
(#8551506)
It's not equivalent. The getter-only auto-property will not have any setter at all. Previously, it had to have at least a private setter, which means that you couldn't strictly guarantee that it wasn't being updated. I used to write read-only properties the long way just to guarantee that they were actually read-only.