Hi Florian,

Thanks for taking the time to read my story and write a response. Much appreciated :)

Well, it’s the collection initializer syntax I’m writing about — and I do also provide a link to Microsoft’s documentation on this. It’s not like it’s a hidden feature. It’s just a feature I think is awesome.

And, it’s not a decorator pattern being used here. But it does have some similarities to it.

Written by

Tech writer with 621K+ views. Sharing my opinion and what I learn. Danish C# backend engineer in FinTech. Ex Big4 senior tech consultant.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store