ScoobyRom.Data.PrintSharedStatistics C# (CSharp) Method

PrintSharedStatistics() public method

public PrintSharedStatistics ( ) : void
return void
        public void PrintSharedStatistics()
        {
            var all = List2Dand3D ();

            Console.WriteLine ("Checking all tables for shared x-axis:", all.Count);
            int num = 0;
            for (int i = 0; i < all.Count; i++) {
                var t = all [i];
                var shared = FindTablesSameAxisX (t);

                if (shared.Count > 1) {
                    num++;
                    Console.WriteLine ("table #{0} Location 0x{1:X}: shared AxisX {2} times", i.ToString (), t.Location, shared.Count.ToString ());
                }
            }
            Console.WriteLine ("Result: {0} tables have shared x-axis", num);
        }