How to read a stream of data?

  • Thread starter Thread starter ywchan
  • Start date Start date
Y

ywchan

I have used a stream reader and sometimes it contains more than one rows of
text. How to read all the lines in a stream reader?
sr.Readline can only get line by line...and every times the total lines
varies...I wonder how to get all the lines at the same time. Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top