Beispiel #1
0
 static void Main(string[] args)
 {
     var box = new Boxing();
     Console.Write("Mit Boxing (1)");
     Test(() => box.LogProblem1(1, 1));
     Console.Write("Ohne Boxing (1)");
     Test(() => box.LogFixed1(1, 1));
     Console.Write("Mit Boxing (2)");
     Test(() => box.LogProblem2(1, 1));
     Console.Write("Ohne Boxing (2)");
     Test(() => box.LogFixed2(1, 1));
 }
Beispiel #2
0
        static void Main(string[] args)
        {
            var box = new Boxing();

            Console.Write("Mit Boxing (1)");
            Test(() => box.LogProblem1(1, 1));
            Console.Write("Ohne Boxing (1)");
            Test(() => box.LogFixed1(1, 1));
            Console.Write("Mit Boxing (2)");
            Test(() => box.LogProblem2(1, 1));
            Console.Write("Ohne Boxing (2)");
            Test(() => box.LogFixed2(1, 1));
        }