C# 字符串前面的@

C#中的转义符

简单说下:在C#中写路径要写成C:\\Windows才是系统正常写法的C:\Windows.加上@的作用就是可以少写一个\所以得解:(系统)C:\Windows=(C#中)@"C:\Windows"=(C#中)"C:\\Windows"
posted on 2015-01-09 14:23  aoun  阅读(852)  评论(0编辑  收藏  举报