...a string to a file:
```c#
string text = "This is a test string.";
FileStream fileStream = File.OpenAppend("test.txt", FileMode.Append);
fileStream.AppendAllText(text, Encoding.UTF8);
fileStream.Close();
```
## Hashtags
* #C#
* #file IO
* #writing to a file
* #Appending to a file
* #FileStream