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# 5 中是否有任何本机方法可以组成有效的路径名和文件名?
我想手动使用正则表达式和此类字符串操作是可能的,但我想知道任何本机支持。我的意思是喜欢
Path.ComposeValidPath(string Path)