Skip to content

IFileSystem.WriteAllText method

Writes content to the file at the specified path.

public void WriteAllText(string path, string content, Encoding? encoding = null)
parameter description
path The path of the file.
content The content to write.
encoding The optional encoding to use when writing the file.

See Also