how can I insert a new line at top of text file?
Hello,
does anyone know of a way to insert a new line at the beginning of a text file? It can't overwrite the existing first line. Seems like a simple thing, I know, but it seems there is no easy way to do this.
There's nothing that I can see in the stream writer or file system objects to do this, and I've been searching for many hours and it seems like this is not a common thing (which is probably why there's no info readily available on it).
Any ideas?
thanks
|