A straightforward C# binary heap implementation.