diff --git a/ClosedXML_Sandbox/Program.cs b/ClosedXML_Sandbox/Program.cs index 3773e7e..1f3f681 100644 --- a/ClosedXML_Sandbox/Program.cs +++ b/ClosedXML_Sandbox/Program.cs @@ -2,7 +2,7 @@ namespace ClosedXML_Sandbox { - internal class Program + internal static class Program { private static void Main(string[] args) { @@ -10,9 +10,13 @@ PerformanceRunner.TimeAction(PerformanceRunner.OpenTestFile); Console.WriteLine(); + // Disable this block by default - I don't use it often +#if false + Console.WriteLine("Running {0}", nameof(PerformanceRunner.RunInsertTable)); PerformanceRunner.TimeAction(PerformanceRunner.RunInsertTable); Console.WriteLine(); +#endif Console.WriteLine("Press any key to continue"); Console.ReadKey();