C# implementation of various sorting algorithms.