I blogged a little walkthrough of the three major C# 8.0 features (nullable reference types, range and index expressions and async streams) shipping in Preview 1 of @VisualStudio 2019 and Preview 1 of .NET Core 3.0. Hope you like it!
blogs.msdn.microsoft.com/dotnet/2018/12…
Mads Torgersen #BlackLivesStillMatter
945 posts
I'm the lead designer of the C# language and a Principal Architect at Microsoft. Opinions are my own.
Joined December 2013
- Try C# 7.0 now! Read all about it here and tell us what you think! blogs.msdn.microsoft.com/dotnet/2016/08…
- The ECMA C# Standard committee meets in person for the first time in ten years!
- Visual Studio 2019 Preview 2 is out, and with it, switch expressions and recursive pattern matching in C#. blogs.msdn.microsoft.com/dotnet/2019/01…
- This is a great list of useful features missing from C#. They aren't fundamental flaws and could all be addressed; many are already on the radar for future versions. E.g. primary constructors are planned for C# 10.0, and could then be a building block for object expressions.It's really strange what nonsense people put up with in C#. This business where expression results are implicitly discarded from statements is just insane in the 21st century. So much information loss just waiting to happen without even a warning.
- How should you think about embracing C#'s new nullable reference types in your libraries and your client code?
- C# 7.1 has been out for two months, but it's never too late to blog about it! (Ok, it kinda is when 7.2 releases...) blogs.msdn.microsoft.com/dotnet/2017/10…
- I thought about ways that you could allow interfaces to be implemented after the fact, separately from the original type declaration. This is long lead thinking, and we are not about to implement this in C#!
- I just updated my C# 7.0 post on the #dotnet blog to actually match the features we released on Tuesday:
- My talk with @dcampbell at #MSBuild yesterday on the future of C# is up on @ch9! channel9.msdn.com/Events/Build/2…
- Fantastic write-up on nullable reference types in C# 8.0!I wrote up my experiences converting a couple projects to C# 8's Nullable Reference support. It was a bit of work so I thought you might enjoy a little guide. praeclarum.org/2018/12/17/nul…
- My #qconsf talk is up! If you have nothing better to do for the next 50-odd minutes, watch me talk about some of the features that we are exploring for the future of C#: nullable reference types, extension interfaces and asynchronous streams.
- The prototype of nullable reference types is finally here! Read all about it here: blogs.msdn.microsoft.com/dotnet/2017/11…




