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