Method FilesystemCombinePaths
FilesystemCombinePaths(bool, char, params string[])
Normalizes and combines the specified file-system paths into one.
public static string FilesystemCombinePaths(bool allowRelativeReturn, char separator, params string[] paths)
Parameters
allowRelativeReturnboolSpecifies if relative paths should be merged and ".." returns should be respected.
separatorcharSpecifies the path separator character.
pathsstring[]Specifies the array of paths to combine.
Returns
FilesystemCombinePaths(bool, char, ReadOnlySpan<string>)
Normalizes and combines the specified file-system paths into one.
public static string FilesystemCombinePaths(bool allowRelativeReturn, char separator, ReadOnlySpan<string> paths)
Parameters
allowRelativeReturnboolSpecifies if relative paths should be merged and ".." returns should be respected.
separatorcharSpecifies the path separator character.
pathsReadOnlySpan<string>Specifies the array of paths to combine.
Returns
FilesystemCombinePaths(params string[])
Normalizes and combines the specified file-system paths into one, using the default environment directory separator char.
public static string FilesystemCombinePaths(params string[] paths)
Parameters
pathsstring[]Specifies the array of paths to combine.
English
Русский
Português
Español
Deutsch
中文 (简体)
日本語