Fast file access reading text file line per line

V

Volker Jobst

Hi,

Is there a really fast way to read a text file which contains lines of
variable length? I'm using the StreamReader to read the file, but this is
not as fast as I need it.

thanks a lot
volker jobst
 
H

Herfried K. Wagner [MVP]

* "Volker Jobst said:
Is there a really fast way to read a text file which contains lines of
variable length? I'm using the StreamReader to read the file, but this is
not as fast as I need it.

Post your code.
 
V

Volker Jobst

Thanks for your reply, but I cannot use the ReadToEnd method because
I have to manipulate the read contents line per line, so I have to read
the file line per line to.
 
V

Volker Jobst

I think I found out what the problem is. When I just read the file without
manipulating the read line, it's really fast, so I have to improve these
lines.
thanks for given me this hint.

volker jobst
 

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

Top