Tag Archives: find words

List unique words in a text file in C#

This example uses regular expressions and LINQ to list the unique words contained in a text file in C#. When you enter the name of a file and click List Words, the following code executes. // List the words in … Continue reading

Posted in files, LINQ, regular expressions | Tagged , , , , , , , , , , | 1 Comment