System.IO.Path.VolumeSeparatorChar Field

Provides a platform-specific volume separator character.

Syntax

public static readonly char VolumeSeparatorChar

Remarks

The value of this field is a colon (:) on Windows and Macintosh, and a slash (/) on UNIX operating systems. This is most useful for parsing paths such as "c:\windows" or "MacVolume:System Folder".

Requirements

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0