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 didn't know Why i was getting out of the .net ecosystem when i migrated off windows/microsoft i just knew a reason would appear at some point in the future
@jenniferplusplus as an aside who is this for lmao. like this feels specifically aimed at people who slept through the first 6 weeks of some early cs class, got told "initialize a dictionary with the collection initializer", and didn't know what any of those words meant
@kirakira As with the large majority of AI features, it's for no one. No one wanted it. It's there in spite of how disinterested or actively opposed the audience is. The whole thing only works if it becomes absolutely ubiquitous and unavoidable, to the point that nothing works *at all* without paying for some chatbot's API. So this just adds to the ubiquity.