string path = @"c:\temp\MyTest.txt";这里的@是什么意思

来源:互联网 发布:mac删除文件的命令 编辑:程序博客网 时间:2024/05/14 08:06

string path = @”c:\temp\MyTest.txt”;
@的意思是后面出现的’\’符号不进行转义
还有另一种写法也可以:string path = “c:\temp\MyTest.txt”;

0 0
原创粉丝点击