Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
contextfree
1y ago
0 comments
Save
Share
More precisely in C# a readonly field of a type can only be assigned to within that type's constructor.
0 comments
1 comments · 1 top-level
top
newest
oldest
skrebbel
1y ago
Which means you can't have a partially instantiated object except while the constructor is running.
j
/
k
navigate · click thread line to collapse