csharp read text file to list string

Code Example - csharp read text file to list string

                
                        List<string> lines = System.IO.File.ReadLines(completePath).ToList();