read text file in console application c# code example
Example: how to read a text file C#
string[] text = System.IO.File.ReadAllLines(@"C:\users\username\filepath\file.txt");
string[] text = System.IO.File.ReadAllLines(@"C:\users\username\filepath\file.txt");