How to grab certain lines of text in a .txt file using C#

Joined
Mar 11, 2011
Messages
1
Reaction score
0
Hi Everyone,

I looked at this link first before posting:
https://www.pcreview.co.uk/forums/parse-txt-file-c-t3664043.html
However, it seemed pretty basic and I think mine is a little more difficult. I'll explain what I need help with. I have this .txt file(where if you add item to visual studio, it has a total of 5554 lines of code), which is a report. Instead of showing all this information, the employer only wants certain lines of text. My purpose is to create a parse or some sort that only writes certain information.

For Example: General Information (lines 1-10). Background (lines 47-67), and General Usage (lines 125-175)

I have some programming experience and if anyone has any questions please feel free to ask.
 
Back
Top