WriteToFile Выполняет запись текста в файл. void WriteToFile(string filePath, string text) Входные параметры – полный путь к файлу, текст.