Recursive selection sort in C#

A C# version of the selection sort inspired by the way it’s commonly done in Scala


Insertion sort in C#

Following the same theme as the last two posts, here is a Scala style implementation of the insertion sort in C#

The code for this is way simpler than I expected. The bubble sort is supposed to be one of the simplest sorting algorithms, yet the code is a lot more involved than this insertion sort code.