Table of Contents

Method IsDirectorySeparator

Namespace
Alternet.Common
Assembly
Alternet.Common.v10.dll

IsDirectorySeparator(char)

Determines whether the specified character is a directory separator character.

public static bool IsDirectorySeparator(char c)

Parameters

c char

The character to check.

Returns

bool

true if the character is a directory separator character (DirectorySeparatorChar or AltDirectorySeparatorChar); otherwise, false.