Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 Read n number of line from a text file C#

Author  Topic 

shajimanjeri
Posting Yak Master

179 Posts

Posted - 2009-11-09 : 04:06:07
Hi all!,

I am very new to c#. I am creating one Windows application for that I have a question.
Let me explain it clearly,

I have a text file which contains 1000 mobile numbers.

Like

9199XXXXXXXX
9199XXXXXXXX
9199XXXXXXXX
9199XXXXXXXX
9199XXXXXXXX
9199XXXXXXXX
etc

I need to read the first 70 mobile numbers and need to store in an array1. Then the second 70 mobile number and store in an another array2. Then third 70 mobile numbers and store in an array3 and so on. Each mobile number can be separate by comma (,)

How i can do this by using C#.NET



Regards

Shaji
   

- Advertisement -