static void Main(string[] args)
{
string[] myStringArray = {
"Sum Ting Wong", "Wi Tu Low", "Ho Lee Fuk", "Bang Ding Ow" };
string path = @"c:\Users\TEMP\test.txt";
File.WriteAllLines(path, myStringArray);
string[] read = File.ReadAllLines(path);
Console.WriteLine(read);
Console.ReadKey();
}
My code currently prints to the file itself perfectly, however when I run the code, nothing is being read back to the console. I have done: File.ReadAllLines(path);
and that should be reading it back to the console, but I get an output of:
System.String[]Any suggestions?