The string looks like this:
"c,c,c,c,c,c\r\nc,c,c,c,c,c\r\n.....c,c,c,c,c\r\n"
This line works:
IEnumerable<string[]> lineFields = File.ReadAllLines(sFile).Select(line => line.Split(','));
List<string[]> lLines = lineFields.ToList();
But let's say I'm not reading from a file, and instead of it I have the string i described before.
What's the fastest (I refer to preformance) way to convert it to a List<> of string[] that looks like
List<string[]> lLines = [ [c,c,c,c,c] , [c,c,c,c,c] , ... [c,c,c,c,c] ]
Thanks.