Skip to content

FileSystemExtensions.GetFileNameWithoutExtension method

Gets the file name without its extension for the specified path.

public static string GetFileNameWithoutExtension(this IFileSystem _, string path)
parameter description
_ The file system.
path The path.

Return Value

The file name without its extension.

See Also