Exemple #1
0
        static void Main(string[] args)
        {
            // Big O is O(N)
            // Thnx for this case study i learned ton of things
            FileAnalyzer fa = new FileAnalyzer("C:\\Users\\akucukmumcu\\Desktop\\RingbaSolution\\", "output.txt");

            Console.WriteLine("MostCommonWord : " + fa.MostCommonWord());
            Console.WriteLine("MostCommonWordNumber : " + fa.MostCommonWordNumber());
            Console.WriteLine("MostCommonPrefix : " + fa.MostCommonWordPrefix());
            Console.WriteLine("Total Capitalized Letter Number : " + fa.TotalCapitalizedLetterNumber());
            Console.WriteLine("Total Letter Number : " + fa.TotalLetterNumber());

            Console.ReadKey();
        }