string path = @"c:\temp\MyTest.txt";这里的@是什么意思
2015-04-24 20:47
459 查看
string path = @”c:\temp\MyTest.txt”;
@的意思是后面出现的’\’符号不进行转义
还有另一种写法也可以:string path = “c:\temp\MyTest.txt”;
@的意思是后面出现的’\’符号不进行转义
还有另一种写法也可以:string path = “c:\temp\MyTest.txt”;
相关文章推荐
- String.getByte("utf-8")和new String(byte[],"utf-8")各是什么意思?
- String filePath = request.getSession().getServletContext().getRealPath("/");这句话返回的路径是什么,解释下getRealPath("/")函数中的"/"表示什么意思
- #ifdef _DEBUG"这里的"_DEBUG"是什么意思?
- linux里while [-n "$1"]这里的-n是什么意思?
- System.String.Format里"{0:C}"是什么意思。
- String str=null; 和String str=""有什么区别
- android:ems="10"是什么意思
- a herf = "这里要填什么" onclick = "方法">
- String demos[]={"hello","chenhj","test","中国"} 对数组的字符按照数据字典排序
- “正则表达式(/[^0-9]/g,'')中的"/g"是什么意思”
- enctype="application/x-www-form-urlencoded"什么意思?
- java程序中加入@SuppressWarnings("serial")是什么意思?
- String.getByte("utf-8")和new String(byte[],"utf-8")各是什么意思?
- oracle 里 符号" ||" 表示什么意思??
- spring 事务管理属性为只读read-only="true"是什么意思
- 请问c++中的#include "stdafx.h"是什么意思?
- <?xml version="1.0" encoding="UTF-8" ?> 这句话是什么意思
- 请问iOS里 "->" 是什么意思?
- split("\\s"{1,})里面的正则表示什么意思
- <c:set value="${pageContext.request.contextPath}" var="blog"/>是什么意思