Hi All,
I have some code in a Windows Form that finds the difference between filenames in a txt reference file and file names in a folder. The difference should be printed out.
Ihave this working in a Console App and I can get the difference to write to a txt file, but what I also want is to put diff the names into a label or a textbox.
Here is my code:
//Var to hold difference file names var diffFiles = sourceFiles.Except(line); foreach (string f in diffFiles) { statusTextBox.Text = ("\n"+f); }
Currently, only ther last diff file name is entered into the textBox. How do I get all the missing filenames to enter?
Lee Warren