How to initialize a dictionary with a collection initializer - C#

Learn how to initialize a dictionary in C#, using either the Add method or an index initializer. This example shows both options.

These are the official docs for the programming language. Fuck all the way off with this

@jenniferplusplus I'm sorry what

Is this for real???

How many C# devs & contributors quit for this

@ity @jenniferplusplus
MAUI was basically abandoned to shift resources to this shit
@ki @ity @jenniferplusplus also, apparently WinUI. And Kiota.
@chucker @ity @jenniferplusplus
WinUI seemed pretty much dead from the start tbf. And then there's WPF, which is an unmaintained mess kept on life support
@ki @ity @jenniferplusplus I'm still porting code _to_ WPF. I really don't understand why they they maintain multiple competing UI frameworks, none of which even have much _internal_ usage, instead of trying to e.g. unify the XAML capabilities (e.g. x:Bind)

@chucker @ity @jenniferplusplus
I'm also porting code to WPF in my day job. It's still a widely used framework, it's just that it's basically a huge chunk of technical debt without much maintenance. There are some community PRs that get accepted every so often, but that's about it

There are a lot of supposed reasons for all these newer frameworks, but all of them are so half-assed it's just sad to see them come and go