You are viewing a single comment's thread from:

RE: Nifty and useful features in C# 7

in #csharp7 years ago

It looks like the breaking change is winning, which I prefer

Not nullable
MyObjVar var = new MyObjVar();

Nullable
MyObjVar? var = null;

This needs to be enabled though to work that way for backwards compatibility. It is also a comppile layer, behind the scene they will still be nullable

Yep F# is epic

Sort:  

Same syntax as nullable value types is great.