Version: 2022.2

Path.DirectorySeparatorChar

切换到手册

描述

用于分隔目录级别的默认字符。(只读)

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