DEV Community

Discussion on: C# 9.0 Optional Property in Record

Collapse
 
wrijugh profile image
Wriju's Blog

I have addressed this already in my previous blog dev.to/wrijugh/c-9-0-init-only-pro...

Collapse
 
peledzohar profile image
Zohar Peled

Yeah, I've seen your post about init only properties, but that's not the point of my comment - the point is that (IMHO) records shouldn't have setters on their properties.