#csharp
Read more stories on Hashnode
Articles with this tag
Modeling exceptions is hard. On the surface, it seems easy. Everyone knows what an exception is, right? But when you think deeper about it, there are...
I dig string interpolation in C#. It is concise and easy to use. And even though JetBrains Rider is known for making developers super productive with...
I'm a big proponent of using delegates instead of interfaces as described here. Recently I've found out that it works wonderfully with the partial...
Regularly I want to await a few tasks and get their result. Surprisingly, there is no obvious way to do that. Task.WhenAll can be helpful, as we see...
I test my code with API calls all the time. Because of this, Rider HTTP Client is a lifesaver.Usually, I call some endpoint for a token and then try...
I've seen many ways to deal with date and time. Hiding it behind an interface, a static class with a single property, ambient context, you name it. I...