Method | Description | |
---|---|---|
FileExists ( string path ) : bool |
Determines whether the specified file exists.
|
|
GetFullPath ( string path ) : string |
Returns the absolute path for the specified path string.
|
|
ReadAllLines ( string path ) : string[] |
Opens a text file, reads all lines of the file, and then closes the file.
|
|
ReadAllText ( string path ) : string |
Opens a text file, reads all text in the file as a single string, and then closes the file.
|
public FileExists ( string path ) : bool | ||
path | string | /// The file to check. /// |
return | bool |
public GetFullPath ( string path ) : string | ||
path | string | /// The file or directory for which to obtain absolute path information. /// |
return | string |
public ReadAllLines ( string path ) : string[] | ||
path | string | /// The file to open for reading. /// |
return | string[] |
public ReadAllText ( string path ) : string | ||
path | string | /// The file to open for reading. /// |
return | string |