How would it be possible to read a text file with several lines, and then to put each line in the text file on a separate row in a ListBox?
The code I have so far:
string[] lines = System.IO.File.ReadAllLines(@"ignore.txt"); foreach (string line in lines) { listBox.Items.Add(line); }