3 ms·
> And what if I don't want to have my constructor parameters as properties, maybe because I process them somehow in the constructor, and set some other properti
by mrcarrot 4y ago
> And what if I don't want to have my constructor parameters as properties, maybe because I process them somehow in the constructor, and set some other properties instead?
Then you don't use property promotion. It's optional: it only happens if you add a visibility modifier before the parameter name.