What are list patterns in C#? C# has been getting a lot of pattern matching love in recent years, like with list patterns in C# 11. The problem is knowing where and how to use it.
What are generic attributes in C# 11? Generic attributes increase the flexibility of a very early .NET feature. Let's try using them and see how it keeps our code DRY.
Simple ways to notify a user... without a MessageBox When sending notifications in a WinForms app, a MessageBox is the only way to go... or is it? Let's get creative and see what else we might do.
How do I call an async method from a synchronous one? Writing code to be async when possible is great, but not always possible. So how do call async code from legacy, synchronous code?
What's the difference between singleton, scoped, and transient? It's trivial to register a dependency in a .NET API, but it's important to clarify a few terms that drastically change a dependency's lifetime.
How can I generate a new GUID? GUIDs are heavily used in the world of development, so let's look at a few quick and easy ways to generate them whenever we need them.
How to log messages to multiple targets with NLog When it comes to finding a bug in an app, few things beat a good trail of logs. And for writing those logs, few tools beat NLog in simplicity or flexibility. I rarely appreciate just how flexible it is though, so it's worth spending a little time taking a closer look.