hello guys how r u ??
my question is that, i am creating a text file and the data has come in the file lines wise,
so now i want to read data line wise means 1st read complete words in one line then read second line all words like this, and maintain array line wise means store all word of 1st line on the 1st index of array ...
replyy soon
Thanks
Loading
Milind ThakkarPosted Oct 4, 2012, 1:54 AM
You can use File.ReadLines(@"d:\yourtextfile.txt")
This will give you array of lines in the file.
Hope that helps,
Thanks
Milind