Time-complexity benchmarks in C#