using (StreamReader streamReader = new StreamReader(path_name, Encoding.UTF8)) { contents = streamReader.ReadToEnd(); }
string[] text = System.IO.File.ReadAllLines(@"C:\users\username\filepath\file.txt");