Provides a string containing an alternate single printable non-alphanumeric character used to separate directory levels in a hierarchical file system.
This field is read-only.
This field can be set to the same value as Path.DirectorySeparatorChar.
Note:Path.AltDirectorySeparatorChar and Path.DirectorySeparatorChar are both valid for separating directory levels in a path string.
The value of this field is a slash ('/') on Windows systems and a backslash ('\') on Unix systems.
Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0