使用@的意思是不转义\
按说要在字符串里表示c:\windows\notepad.exe
得写成c:\\windows\\notepad.exe
但是前面加@以后就不用两个\了
C#中在路径前加 @ 的作用
最新推荐文章于 2023-03-28 14:52:13 发布
使用@的意思是不转义\
按说要在字符串里表示c:\windows\notepad.exe
得写成c:\\windows\\notepad.exe
但是前面加@以后就不用两个\了