Saturday, September 15, 2018

filter lines in a text file


File.ReadLines("c:\test.txt").Where(x => !x.StartsWith("xYz--"));
File.ReadLines("c:\test.txt").AsParallel().Where(x => !x.StartsWith("xYz--"));

No comments:

Post a Comment