SyntaxFix
Write A Post
Hire A Developer
Questions
A little update to Evan Mulawski answer to make it shorter
List<string> allLinesText = File.ReadAllLines(fileName).ToList()