I had this code:
String[] lineElements; . . . try { using (StreamReader sr = new StreamReader(\"TestFile.txt\")) {
Try this line:
List stringList = line.Split(',').ToList();