from Hacker News

Early peek at C# 11 features

by Angius on 2/22/22, 8:27 PM with 3 comments

  • by mdb31 on 2/22/22, 8:43 PM

    Although not every new C# feature is as... pragmatic... as I would perhaps like, the language is continuing to evolve quite nicely. And the .NET framework doubly so.

    One thing I would really like to see, is JSON literals on par with the XML literals that are available in VB.NET. Combined with LINQ, that makes for a quite interesting experience.

    (Although the extent of the breakage in various tools, not just third-party solutions like Re# and Rider, but also VS.NET itself, possibly goes to the wrong side of 'interesting'...)

  • by metaltyphoon on 2/23/22, 12:19 AM

    The null checking operator is completely unnecessary, what a shame.