IOHelperReadAllText(String) Method

Opens a text file, reads all lines of the file, and then closes the file.

Definition

Namespace: Configuration.Helper
Assembly: Configuration.Helper (in Configuration.Helper.dll) Version: 2.0.5
C#
public static string ReadAllText(
	string path
)

Parameters

path  String
The file to open for reading.

Return Value

String
A string containing all lines in the file.

See Also