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.

@jenniferplusplus what the - and I cannot stress this point enough - actual fuck is that garbage!
Divide strings using String.Split - C#

The Split method returns an array of strings split from a set of delimiters. It's an easy way to extract substrings from a string.

@dazfuller
@jenniferplusplus Microsoft really just fed their entire documentation into an AI, told it to add a helpful AI tip in the footer (with matching header tip!) to every page and then pushed it straight into production without ever once passing a pair of human eyeballs

@rolenthedeep @dazfuller
I thought so too, but apparently no! Someone artisanally selected a half dozen teaching articles, and fed them into what was probably an ordinary chatbot session, and then likely copy-pasted the results using a mouse and keyboard into the docs. And then another someone reviewed it well enough to make one unbelievably pointless suggestion.

https://github.com/dotnet/docs/pull/44580

Thus illustrating the glorious AI-powered future our technofeudal overlords have planned for us

Update ms.custom value to the new value and add addl. highlights by anandmeg · Pull Request #44580 · dotnet/docs

Internal previews 📄 File 🔗 Preview link docs/csharp/how-to/concatenate-multiple-strings.md How to concatenate multiple strings (C# Guide) docs/csharp/how-to/parse-strings-using-split.md Ho...

GitHub
@jenniferplusplus @rolenthedeep for one brief moment Bill held our futures in his hands. In the years to come historians will look back at this time and wonder what might have been, what golden path of enlightenment we might have trodden, but for Bill