How do I make a dictionary with every word from text document in C#?

Viewed 44

how to go through the text file and save every word in a dictionary with the place where that word appears. a word may appear more than once.

I opened the text file. and declared a new dictionary. I don't know how to go through the file and fill the dictionary.

0 Answers
Related