Share via


File.SeparatorChar Property

Definition

The system-dependent default name-separator character.

[Android.Runtime.Register("separatorChar")]
public static char SeparatorChar { get; }
[<Android.Runtime.Register("separatorChar")>]
static member SeparatorChar : char

Property Value

Attributes

Remarks

The system-dependent default name-separator character. This field is initialized to contain the first character of the value of the system property file.separator. On UNIX systems the value of this field is '/'; on Microsoft Windows systems it is '\\'.

Java documentation for java.io.File.separatorChar.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to