G
Guest
Hi
Using C# and a textfile I need to do two things:
1. Read the contents of the textfile and return the number of words
contained in it.
2. Output a list of unqiue words (i.e. not duplicated) to a new textfile.
These words should appear on a new line.
eg.
hello
world
This needs to be done in C# and I am struggling to understand how to do this
using the TextReader and TextWriter.
Any help greatly appreciated.
Thanks
Kevin
Using C# and a textfile I need to do two things:
1. Read the contents of the textfile and return the number of words
contained in it.
2. Output a list of unqiue words (i.e. not duplicated) to a new textfile.
These words should appear on a new line.
eg.
hello
world
This needs to be done in C# and I am struggling to understand how to do this
using the TextReader and TextWriter.
Any help greatly appreciated.
Thanks
Kevin