IOHelperGetExtension Method

Returns the extension of the specified path string.

Definition

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

Parameters

path  String
The path string from which to get the extension.

Return Value

String
The extension of the specified path (including the period "."), or empty string.
If path does not have extension information, an empty string is returned.

See Also