using System; public class Box { [Benchmark] public static void TestBox() { for (int i=0; i < 100000000; i++) box(i); } public static void box(object i) { } [Benchmark] public static void TestNon() { for (int i=0; i < 100000000; i++) nonbox(i); } public static void nonbox(int i) { } }