Hey Lads.
I'm currently programming or trying to program a C# console app that reads in a number of records from a text file line by line and I am trying to store the data into an array.
Now I should be able to type N and it goes to the next record, P and it goes to the previous however I can't find a way to be able to increment the record when the N button is entered or decrement it when the P button is entered. I think once I find out how to do this, the Last and First commands should be simple.
Any ideas what I could use?
Cheers.
I'm currently programming or trying to program a C# console app that reads in a number of records from a text file line by line and I am trying to store the data into an array.
Now I should be able to type N and it goes to the next record, P and it goes to the previous however I can't find a way to be able to increment the record when the N button is entered or decrement it when the P button is entered. I think once I find out how to do this, the Last and First commands should be simple.
Any ideas what I could use?
Cheers.