3
Answers

c# specific word count

Lee Marsden

Lee Marsden

16y
5.5k
1

Hi all,

I am a complete Novice at C# and have been asked by my company to create a small application that performs the following.

we have several servers with log files on them, what we want to to is read the log files and once read search the log file for specific words.

for example we want to search the log files for mainly the words error and display how many errors are contained in the log file.

at the moment I have created a app that has a text box that just displays the log file then at the bottom I have a two text boxes and one button. one text box where you can specify the word you want to search for and the other displays the result once the button is clicked

I would like some help on getting the search to work and to display the amount of times the word was found in the log file

Any help much appreciated

thanks

Answers (3)