Skip to content

dotnetCampus.Required 12.0.0-alpha02 Latest

For C# 11.0 and newer. This package adds support for the 'required' keyword in your project, enforcing that fields or properties are initialized during object initialization. The types introduced are internal, meaning the 'required' functionality is limited to this project and won't propagate to referencing projects.

Install from the command line:
Learn more about NuGet packages
$ dotnet add package dotnetCampus.Required --version 12.0.0-alpha02

Recent Versions

Loading