Why isn't myObject ??= defaultValue;
possible in C#?
It would be very nice !
Read this blog post by Eric Lippert about why C# doesn't have many "nice-to-have" language features.
Why isn't myObject ??= defaultValue;
possible in C#?
It would be very nice !
Read this blog post by Eric Lippert about why C# doesn't have many "nice-to-have" language features.
精彩评论