c# - Store Text to String[] Arrays? -


this question has answer here:

how can store data text string or array in windows store using c#? tried method did not work:

 string[] phparay ={@"f:\designe- video\projects\phpgonehelp\phpgonehelp\phpcode\php1.txt"}; 

i thought execute data text file, unfortunately prints text path.

i think you'r looking this:

string[] lines = system.io.file.readalllines(@"f:\designe- video\projects\phpgonehelp\phpgonehelp\phpcode\php1.txt"); 

this taken https://msdn.microsoft.com/en-us/library/ezwyzy7b.aspx


Comments

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -