IOHelperGetFileName Method
Returns the file name and extension of the specified path string.
Namespace: Configuration.HelperAssembly: Configuration.Helper (in Configuration.Helper.dll) Version: 2.0.5
public static string GetFileName(
string path
)
- path String
- The path string from which to obtain the file name and extension.
StringThe characters after the last directory character in path. If the last character of path
is a directory or volume separator character, this method returns an empty string.