Method EndsWithDirectorySeparator
EndsWithDirectorySeparator(string?)
Returns boolean value indicating whether path ends with directory separator char.
public static bool EndsWithDirectorySeparator(string? path)
Parameters
pathstringPath which will be checked.
Returns
- bool
trueif path ends with directory separator char;falseotherwise.