Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
3
Reply
To read data from a file and store in an array
brian dsouza
Mar 3 2016 8:33 PM
315
Reply
hello friends
I am new to c# and i want to know how to read contents from a file and store in an array not word by word but depending on the no of characters including space
example:
string:Hi how are you?
packet size:4
then i shall get: a[0]=hi h
a[1]=ow a
a[2]=re y
a[3]=ou?
please help
thanks
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
3
)
Next Recommended Forum
How to print data from datagridview to microsoft word
How to download .rar file from SFTP server using c# console