Quote:
Hi i havent tried iam new to c#.
Then you need to review your course materials, and start planning what you need to do. You've been here for ten years, so your existing dev skills should be directly transferable: define the problem, then start breaking it down into smaller tasks. If a smaller task is something you can do, fine - do it. If it isn't, break it down into yet smaller tasks and try again. At some point, you either get tasks you know how to do, or you get to something you need to research and find out about.
It's exactly the same process you have probably been using for ten years or more, just in a different language!
So start by deciding how to read the data - all at once or line by line - and how to output it, then you can start thinking about how to identify lines, and "remove" them as that will depend on the input and output choices.
You can do this, if you just think carefully first.