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.
我正在尝试使用以下代码创建目录结构。
System.IO.Directory.CreateDirectory("G:\suppler\", txtsource.text)
我希望将文本框的内容传递给 xxxx,但收到一条错误消息,指出我无法传递字符串。
你能告诉我如何使代码工作。
了解转义序列:"G:\suppler\"不终止,但包含引号。
"G:\suppler\"