Read text file with Linq in C # and apply filters
The following method allows you to read a text file, apply filters and store it in a string list.
VICTOR COMPUTERSAP CONSULTANT
string path = "C:\\test.txt";
List lineas = (from l in File.ReadAllLines(path)
//Test with filters
The result will be a list with 2 elements:
We hope it is of your use, we remain attentive to your comments …