Method SaveToFile
SaveToFile(string, string)
Saves text to a file, creating directories as needed.
Declaration
public static void SaveToFile(string filePath, string data)
Parameters
| Type | Name | Description |
|---|---|---|
| string | filePath | Path to the file to write. |
| string | data | Text to write. |