Introducing the C# 11 Required Keyword

A new .NET 7 language feature that helps reduce boilerplate constructor code

In this article we’ll explore the new C# 11 required keyword that was introduced this week and see how it helps provide alternative ways of safely configuring objects.

--

--

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
Matt Eland

I help people love writing code through writing, speaking, and teaching on Software Engineering & Data Science