F# 字符串字面量
示例
let string1 = "Hello" //简单的字符串
let string2 = "Line\nNewLine" //带换行符转义序列的字符串
let string3 = @"Line\nSameLine" //使用@创建逐字字符串文字
let string4 = @"Line""with""quoutes inside" //双重仲裁,以指示@字符串内的单一仲裁
let string5 = """single "quote" is ok""" //三引号字符串文字,包括引号在内的所有符号均逐字显示
let string6 = "ab
cd"// same as "ab\ncd"
let string7 = "xx\
yy" //same as "xxyy", backslash at the end contunies the string without new line, leading whitespace on the next line is ignored
热门推荐
1 如何训练狗狗不叫
2 训练狗狗不叫
3 训练狗狗随行
4 怎么训练狗狗不叫
7 训练比熊狗狗教程
10 上海狗狗训练
11 怎么训练狗狗上厕所
12 训练狗狗趴下
13 狗狗服从训练
14 训练狗狗拒食
15 训练狗狗笑
16 训练狗狗大便
17 训练狗狗立
18 训练狗狗捡东西