+1 to discriminated unions. The OneOf Nuget package helps for now, but would be especially great to have completeness checking built into the compiler.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
"It is designed to be an easy-to-learn programming language for beginners"
I've never heard this being one of the main goals of C#.
"In my opinion it is one of the most promising features and the most awaited by all developers in C# 10."
I seriously doubt that field keyword is the most awaited feature. It's nice but still just a bit of syntactic sugar.
From what I know "enum class" (discriminated unions) is the one most devs are waiting for.
"C# 11 at Christmas? I think it will simply be a dream that may come true (it is not the first time that Microsoft works in silence)"
Zero chance. C# 11 will adhere to the now established pattern of the following .NET release cycle. C# 11 with .NET 7 in November 2022.
But as you live one year in the future, you may already have it... 😜
+1 to discriminated unions. The OneOf Nuget package helps for now, but would be especially great to have completeness checking built into the compiler.