Path.DirectorySeparatorChar Field (System.IO)

Provides a platform-specific character used to separate directory levels in a path string that reflects a hierarchical file system organization.