public static bool IsDirectorySeparator(this char c) { return c == Path.DirectorySeparatorChar || c == Path.AltDirectorySeparatorChar; } }