Path.DirectorySeparatorChar

Description 描述

The default character used to separate directory levels. (Read Only)

This is '\' on Windows and '/' on macOS