Hi
Just wondering if you can help me on how i can add text to an existing file instead of overwriting it… ive got this far…
string filePath = “C:\ ex1.txt”; StreamWriter foo; if (File.Exists(filePath)) { // File exists // Don’t do anything.} else { // File does not exist foo = new StreamWriter(filePath); foo.Write(“Blarg. Zorb. Zeeb. Foo.”); foo.Close();}
I hope that makes sense!!
Thanks