▲ | neonsunset 6 days ago | |||||||
In the last few years C# did away with implicit nulls. Nullable and non-nullable object references are disambiguated with T? and T. There are multiple keywords and expressions to further make it nice to work with these. You would be correct to note that there are "nullability holes" in certain edge-case scenarios, particularly around JSON serialization. But other than that it's a pretty smooth sailing. If you do use C#, you may also want to add <WarningsAsErrors>nullable</WarningsAsErrors> to .csproj too. | ||||||||
▲ | cies 5 days ago | parent [-] | |||||||
I know it's a bit like Kotlin. I heard though that C#'s move still has some std lib bits that are nullable. | ||||||||
|