Question: c sharp The app should read as many strings as the user wants, but at least one string. The app should make sure that the
c sharp The app should read as many strings as the user wants, but at least one string.
The app should make sure that the user enters at least one string. Otherwise, it
should display a proper error message.
The user should be able to end the program by entering #STOP# as a special
flag.
The special flag #STOP# should NOT be added to the list of entered strings.
The app should store the entered strings in a proper data structurecollection
The app should then reverse the list of entered strings.
The app should then save the entered strings to a text file named
enteredstrings.txt and save the list of reversed strings to another text file
named reversedstrings.txt
The app should read from the enteredstrings.txt file and print the strings in the
same order entered by the user.
The app should also search the entered strings for the target string Holiday and
if it finds a match, it should display the target string and the message : Found a
match! The search logic should NOT be case sensitive
Page of
The app should read from the reversedstrings.txt file and print the strings in
the reversed order. The strings should be printed on the same line separated by
a comma and one space after the comma.
The app should use proper exception handling using try, catch, and finally
blocks when it writes to output files and reads from input files.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
