Implemented Counting Sort in C#, tried to optimize the default implementation to also work on negative entries.
Also testing out Code Contracts.