How to read a textfile using C#.Net

Posted by user203127 on Stack Overflow See other posts from Stack Overflow or by user203127
Published on 2010-03-25T04:30:39Z Indexed on 2010/03/25 4:33 UTC
Read the original article Hit count: 239

Filed under:

Hi,

I have a text file. I want read that file. But In that if the line starts with 6 then i want read that file otherwise leave that line and go to next line. If the line starts with 6 then i want to read that line from position 6 to 15 and 45 to 62. I want to implement this code in C#.NET. How to write that code? Can anyone Help me.

© Stack Overflow or respective owner

Related posts about c#.net