예제 #1
0
        private static void WriteDictionary(ZMemory contents)
        {
            WriteHeading("Dictionary");

            var d = contents.Dictionary;

            var pairs = new Dictionary <string, string>
            {
                { $"InputCodes", $"{Format.ByteArray(d.InputCodes, false)} {Format.CharArray(d.InputCodes, false)}" }
            };

            Console.WriteLine(Format.KeyValues(pairs, 25));

            WriteSubHeading("Words");

            Console.WriteLine(string.Join(", ", d.Words));
        }