Programming Course in C# ¡Free!

11.17 - Search in file

 Saturday, April 06, 2013 published by Exercises C#

Create a program to read a text file and ask the user for sentences to search in it.
It will read the whole file, store it in an ArrayList, ask the user for a word (or sentence) and display all the lines that contain such word. Then it will ask for another word and so on, until the user enters an empty string.