Recent Posts

The C# null-coalescing operator

Monday 17 May 2021

A mathematical analysis of C#'s ?? operator

Commit hash using React and AWS Amplify

Thursday 3 September 2020

Europa League Draw

Friday 28 February 2020

What is the chance of two British teams meeting in the Europa League last 16?

Make your automated tests easy to read

Tuesday 11 February 2020

Recently I've been trying to improve the readability of the automated tests that I write for my code. How have I done this, and why am I even bothering?

Drag-and-drop in Windows Forms is as easy as 1-2-3 (and maybe 4)

Monday 25 November 2019

How to support drag-and-drop in Windows Forms.

ASP.NET Core JSON API Cheat Sheet

Tuesday 8 October 2019

Some lessons learned building a JSON API using ASP.NET Core.

Smart Enums In C#

Wednesday 2 October 2019

A C# design pattern I'm quite fond of.

Champions League Draw, Revisited

Wednesday 10 July 2019

How do you deal with randomness in .NET code?