So like the title of this post says how can i read the last n lines of a file and store them in a List?
Keep it in mind that:
- the file is big (somewhere between 5 MB and 10 MB)
- the file may or may not be locked by another thread
- it is accessed by another thread (a new line is added to file when process finished)
Thank you.