@的三种作用

来源:互联网 发布:屏幕录制软件 编辑:程序博客网 时间:2024/05/17 04:08


       //1.忽略转义字符

       string fileName =@"D:\文本文件\text.txt";

 

       //2.让字符串跨行

       string strSQL =@"SELECT * FROM HumanResources.EmployeeAS e     

           INNER JOIN Person.Contact AS c    

           ON e.ContactID = c.ContactID    

           ORDER BY c.LastName";

 

       //3.在标识符中的用法

       int @int= 0;

0 0