I can’t think of a way to add stuff at the end of the line but to add a new line u use Console.WriteLine method. It doesn’t override.
Otherwise u need to read those already exist in the file and covert them to strings then edit. To do that u use the StreamReader.ReadLine method abd remember to write them back in the file.