I\'m trying to write the contents of an array to a text file. I\'ve created the file, assigned text boxes to the array (not sure if correctly). Now I want to write the con
You could just do this:
System.IO.File.WriteAllLines("scores.txt", textBoxes.Select(tb => (double.Parse(tb.Text)).ToString()));