Implementation of the heap data structure in C#.