Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试在 c# 中编写一个代码来打印我计算机中的所有文件目录,而且我快到了。但是存在一个问题:
当文件夹名称只是一个空格 (" ") 时,该过程进入无限循环。您建议我做什么,而不更改文件夹名称或忽略它?