Consider this console application. Let's walk through it. Nothing seems too awful. It starts by allocating a 1GB byte array and filling it with random bytes. It then traverses the byte array looking for the mode: the byte that occurs most often. Once it finds that, it prints the result out to the console (let's … Continue reading C# Shenanigans, Part One: A Memory Leak