c#
输入输出
ConsoleKeyInfo ReadKey
readLine read write writeline
数据类型


string和String
string是String的别名
C# string 字符串的前面可以加 @(称作"逐字字符串")将转义字符(\)当作普通字符对待
@ 字符串中可以任意换行,换行符及缩进空格都计算在字符串长度之内
输出

sealed 密封,这个类或函数禁止继承了
system.string就是无法继承的
想对string加功能就用extension

ConsoleKeyInfo ReadKey
readLine read write writeline


string是String的别名
C# string 字符串的前面可以加 @(称作"逐字字符串")将转义字符(\)当作普通字符对待
@ 字符串中可以任意换行,换行符及缩进空格都计算在字符串长度之内

sealed 密封,这个类或函数禁止继承了
system.string就是无法继承的
想对string加功能就用extension
