static void WriteInfo(bool showStats = false) { Console.WriteLine(); #if DEBUG foreach (var lx in bag.GenerateTreeText()) { Console.WriteLine(lx); } bag.SanityCheck(); Console.WriteLine(); if (showStats) { Console.WriteLine(bag.GetTreeStatsText()); Console.WriteLine(); } #endif }