Exemple #1
0
        static void Main(string[] args)
        {
            var filePath = Environment.CurrentDirectory + @"\file.txt";

            var file = new FileReaderService(filePath);


            Console.WriteLine("Processing file using list");
            ProcessFile(file.GetTxtFileLines(), true);

            Console.WriteLine("---------------------------------------------------");

            Console.WriteLine("Processing file using dictionary");
            ProcessFile(file.GetTxtFileLines(), false);

            Console.ReadKey();
        }