Thanks André, you’re absolutely right, I’ll correct that. To be honest, that entire section is pending the final release of the C# 9 compiler. There’s a fair bit of discrepancy between what was proposed, and subsequently accepted for C# 9 in the language repository, and what was shipped with the release candidates.

Thanks for pointing out this error. I’ve been drafting this article since the first features were accepted for C# 9, and some stuff that didn’t make the cut after all may still be in the article here and there. When C# 9 is released in full, I’ll go over all of the examples in this article once more and fix any discrepancies.

--

--

--

Software Engineer writing about his daily software adventures, wherever they may lead.

Love podcasts or audiobooks? Learn on the go with our new app.

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
Martin Cerruti

Martin Cerruti

Software Engineer writing about his daily software adventures, wherever they may lead.

More from Medium

Permutation

My name is Kybhrea and this is my life story

What is WSUS?

.Chm file full-text search returning “no topics found”?