I suggest you ...

Consider my detailed proposal for non-nullable references (and safe nullable references)

Here are the benefits very briefly:

1. Minimal syntax changes.
2. Null reference exceptions eliminated.
3. No changes to code compilation as such (only introduces compiler error checks).
4. Existing code will continue to compile unchanged.

See my full proposal at:
https://github.com/dotnet/roslyn/issues/227

57 votes
Vote
Sign in
(thinking…)
Password icon
Signed in as (Sign out)
You have left! (?) (thinking…)
Neil65 shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

1 comment

Sign in
(thinking…)
Password icon
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base