#csharp You can annotate a property directly as non-nullable to avoid this annoying suggestion: "Non-nullable property must contain a non-null value when exiting constructor. Consider declaring the property as nullable"
If you specify null!; you are saying to the compiler "assign this null, but trust me, it's not null". See
<https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/operators/null-forgiving>
public string Property{ get; set; } = null!;
If you specify null!; you are saying to the compiler "assign this null, but trust me, it's not null". See
<https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/operators/null-forgiving>