How can I store data text into string or array in windows store using C#? I tried this method but it did not work:
string[] phparay ={@"F:\Designe- Video\projects\Phpgonehelp\Phpgonehelp\PHPCODE\Php1.txt"};
I thought this would execute any data from text file, but unfortunately it just prints the text path.
I think what you'r looking for is this:
string[] lines = System.IO.File.ReadAllLines(@"F:\Designe- Video\projects\Phpgonehelp\Phpgonehelp\PHPCODE\Php1.txt");
this was taken from https://msdn.microsoft.com/en-us/library/ezwyzy7b.aspx