This video is a tutorial showing you how to read a text file and write it to a string array in C# using ‘StreamReader’.
Code:
Nguồn:https://wijstaanvooronzegrondrechten.org/
This video is a tutorial showing you how to read a text file and write it to a string array in C# using ‘StreamReader’.
Code:
Nguồn:https://wijstaanvooronzegrondrechten.org/
Very easy explanation of StreamWriter. Thanks
Can't be much simpler StreamReader explanation than this. Thanks bro
Ok Kids A Much Easier Version here
Console.WriteLine(System.IO.File.ReadAllText(@"names.txt"));
How does the program know where to search for this txt file as you didn't put the path?
okay man i will love u if u can help me out with something… so basicly i instead of reading all the lines going up to whatever number you pick i want it to just read out the line 1 line you picked for example there is "Bob Lol Memes" i want it to just read it the middle one. how would i go around doing this
Thaaaanks ssooo much!
I think its easier to use an while loop 😀
Thanks friend!! You saved my life haha
muito obrigado , procurei essa solução por muito tempo. abraço de um brasileiro
Thank you for this video brother! This is helping me to better understand the StreamReader. Thanks for the code as well.
You are not from this plant. you explianed everythings clearly
thxxxx……..
I can not say how helpful this video was for me, Thank you sooooo soo sooo much 🙂
So dose this work with a list also?