Resolving warning: Non-nullable Property Must Contain a Non-null Value in .NET 6
Prior to .NET 6, null-state analysis and variable annotations are disabled for existing project, however, it is enabled for all .NET 6 projects by default. Because of which, all the…