Comparing FirstOrDefault and SingleOrDefault

FirstOrSingleOrDefault

This is an EF Core experiment measured with the popular BenchmarkDotNet library. You will find the benchmark results and the source code to reproduce everything on your machine and answer the question on the performance impact of the System.Linq methods SingleOrDefault() vs FirstOrDefault(), especially in the case of an indexed column.

Generating The Fibonacci Sequence in C#

Fibonacci C# Experiments with BenchmarkDotNet

Fibonacci is a number sequence that starts with 0, 1, 1 and then the following number is the addition of the two preceding numbers: 0, 1, 1, 2, 3, 5, 8, 13.

We will look at different possible ways to generate this sequence in C#. We will also look into the yield keyword and how to use it.

You will see how you can use the most popular benchmarking library, BenchmarkDotNet, to observe the performance of the found solutions.

How Do I Follow My Favourite .NET Blogs?

My Favourite .NET Feeds via OPML

It has been a while since I started the dotnet-content-creators list on GitHub. The list grew over time, and many people added their favourite .NET content creators. Over time a list of the most loved English .NET content creators has formed.

Since a lot of people still use RSS readers these days. There are some excellent web-based options out there. I decided I wanted to share an OPML file with you. It is a list of all RSS feeds extracted from all the dotnet-content-creators.