Method EndsWithDirectorySeparator
EndsWithDirectorySeparator(string?)
Returns boolean value indicating whether path ends with directory separator char.
public static bool EndsWithDirectorySeparator(string? path)
Parameters
path
stringPath which will be checked.
Returns
- bool
true
if path ends with directory separator char;false
otherwise.