.cs read file 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");