Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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