A simple C# class for comparing performance of different blocks of code