how to read a text file in c# console application 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");