Method LoadFromFile
LoadFromFile(string)
Loads all text from a file.
Declaration
public static string LoadFromFile(string filePath)
Parameters
| Type | Name | Description |
|---|---|---|
| string | filePath | Path to the file to read. |
Returns
| Type | Description |
|---|---|
| string | The file contents as text. |