I read a text from a text file and stores in an Array.
- string[] lines = System.IO.File.ReadAllLines(@"D:\as\testingfile");
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Salman BegRank #284 · 8.8K reputationPosted Jan 19, 2017, 3:53 AM EST
Salman BegRank #284 · 8.8K reputationPosted Jan 19, 2017, 3:38 AM EST
Dinesh SanthalingamRank #2,085 · 690 reputationPosted Jan 19, 2017, 3:41 AM EST