11
What do you think about new C# 12 features?
(programming.dev)
A community about the C# programming language
Getting started
Useful resources
IDEs and code editors
Tools
Rules
Related communities
In my opinion type aliases shouldn't use
usingkeyword, since it is used by other useful features, but overall those changes are nice.Yes, C# is slowly getting more bloated, like C++, but it's still a lot better than cpp imo and those changes (especially primary constructors) can remove boilerplate code.
Type aliases already existed, and already used the
usingkeyword. This version essentially just adds a few new options for the bit after the=(to be specific: tuple types, array types, pointer types, or other unsafe types).