how to read text file to list in C#\ code example
Example: c# read text file to list string
List<string> lines = System.IO.File.ReadLines(completePath).ToList();
List<string> lines = System.IO.File.ReadLines(completePath).ToList();