|
|
|
|
|
by chipdart
558 days ago
|
|
> C# has this: This is only syntactic sugar to allow using object initializers to initialize specific member varabiles of a class instance instead of simply using a constructor and/or setting member variables in follow-up statements. It's hardly the feature OP was describing. |
|
Same applies to readonly instance fields.
Where does "syntax sugar" end and "true features" begin?