A console application that can process an input text file and creates an output file containing the list of all words in the input file and their frequencies.
.NET 6.0 SDK - Download here
- Clone the repo
cd WordCounter.CLI
dotnet run [input-file-path] [output-file-path]
There are 2 required arguments:
- input-file-path: A valid path to a file on the machine to read the input text from
- output-file-path: A valid path on the machine where the output will be written to
Example:
dotnet run C:\Temp\input.txt C:\Temp\output.txt