For instance, the StreamWriter documentation shows that there are overloaded constructors that let you specify whether the content should be appended to the file or overwrite it. As you spend time developing in a language you will memorize most of the common functionality, but even the most experienced developers keep the documentation handy. Keep that in mind and you can do just about anything you put your mind to.
Hope this helps,
I'm using StreamWriter to write data to a file. However every time it writes new data, it overwrites what's already there. Can someone help me make it so that it writes on the next line after what's already there? Go to end of file?
I'm very new to scripting.