Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            TextAnalyzer t = new TextAnalyzer();

            Console.WriteLine("Generated characters:");
            Console.WriteLine(t.text);
            SortedList <char, int> charactersList = t.getCharactersList();

            foreach (char c in charactersList.Keys)
            {
                Console.WriteLine("Character " + c + " appears: " + charactersList[c] + " times");
            }
            Console.ReadLine();
        }