I am using a list to limit the file size since the target is limited in disk and ram. This is what I am doing now but is there a more efficient way?
readonly
You can simple read this way .
List lines = System.IO.File.ReadLines(completePath).ToList();