Example app in C# using message passing as a way to avoid null checking.