Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

read all lines split C#

List<string[]> list = File.ReadLines("YourFile.txt")
                          .Select(r => r.TrimEnd('#'))
                          .Select(line => line.Split(','))
                          .ToList();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #read #lines #split
ADD COMMENT
Topic
Name
4+8 =