C# - SelectTokens get multiple properties from a JSON structure
I have made a quite a few posts about SelectToken and SelectTokens by now. This post describes how to get two or more properties from a »
I have made a quite a few posts about SelectToken and SelectTokens by now. This post describes how to get two or more properties from a »
NSubstitute is a great framework for mocking objects for tests. I recently had an unexpected behaviour when stubbing a method call. For this simple example we »
You can check if two lists have the same content and in the same sequence using SequenceEqual: var list1 = new List<int> { 1, 2, »
1st January 2023 Something is happening! I have made an update down below! Let me be absolutely clear, this could be entirely a Bing issue and »
This post demonstrates how to run a piece of code asynchronously in C#. This is easily achieved with the Task library. You can start a new »
I recently hit the mark for getting access to level 1 of Ezoic (10.000 visits and 50$ made in a month). I started out in »
Both Lists and Arrays in C# are collections* that can hold simple types, objects and structs. We will start by going through the basics of arrays »
For the last couple of years I have had sidebars on my blog with adsense ads. It has mainly been an experiment as I had never »
You may have been using other frameworks for mocking and stubbing your HTTP requests - also known as using an "Imposter". This post demonstrates »
In previous versions of .Net the standard was to have a startup.cs file which implemented two methods: * ConfigureServices: Which is responsible for configuring dependency injection. »