Programming Course in C# ¡Free!

11.10 - Invert text file, Stack

 Saturday, April 06, 2013 published by Exercises C#

Create a program to display the contents of a text file "inverted" : create a file containing the same lines as the original file but in reverse order (the first line will be the last one, the second will be the penultimate, and so on, until the last line of the original file, which should appear in the first position of the resulting file). Also, each line must be displayed reversed (it must start with the last letter and end with the first letter).
You MUST use ArrayList.