[SOLVED] How to count record from one file to another and output sequence continuously for a day c#

Issue

This Content is from Stack Overflow. Question asked by Dan

I have a problem in c#. im using .dll for my project and i need to count rows from a file and if I load another file the sequence will not return to one but it will continue where the first first file end the sequence number.

for example:
file number 1 is 1 to 50, I want the second file to be 51 to 100 in sequence.

I hope you can help me to my problem.

Thanks



Solution

Feel free to add further info. Guessing you are not operating asynchronously. You can keep two different counters and then you add the logic to follow the sequence.


This Question was asked in StackOverflow by Dan and Answered by jmvcollaborator It is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?