Method IsDirectorySeparator
IsDirectorySeparator(char)
Determines whether the specified character is a directory separator character.
public static bool IsDirectorySeparator(char c)
Parameters
c
charThe character to check.
Returns
- bool
true
if the character is a directory separator character (DirectorySeparatorChar or AltDirectorySeparatorChar); otherwise,false
.