Question
In c# please write a program which will accept a directory path/name as a command line argument. The program will search this directory, its subdirectories,
In c# please write a program which will accept a directory path/name as a command line argument.
The program will search this directory, its subdirectories, and so on for up to 15 levels down for files with the .txt extension.
(remember file names can be named .txt so photo1.txt.png must be accounted for)
your program will READ all txt files and only display the file path of the .txt files that have the word pizza exactly 5 times (not over not less only 5).
Do not count other words that have pizza in them (for example afpizza) and only count words where pizza is spelled with all lower case letters. Pizza cannot be spelled with any capital letters only lowercase
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started