用户输入
用户输入
string str = @“C:\a\b\c”;
Console.WriteLine(str);
\\输出为 C:\a\b\c
Console.WriteLine("C:\\a\\b\\c");
//结果是C:\a\b\c 。\\输出为\
@作用:所有转移字符无效
+ 连接符
double
int
char 一个字
思维导图工具
processon.com
Main
Console.WriteLine("\""); //输出 \"
\" 输出>> "
\\\" 输出>> \"
\n 换行 \t 制表
Console.WriteLine("输出文字"); //带换行
Console.Write("输出文字"); //无换行
Console.WriteLine("Hello World");
hear
cry
What's wrong with you?
hurt
knee
hand
move
elbow
neck
cough
fever
stomachache
safety first
helmet
near
knife
hear
cry
What's wrong with you?
hurt
knee
hand
move
elbow
neck
cough
fever
stomachache
safety first
helmet
near
knife
hear
cry
What's wrong with you?
hurt
knee
hand
move
elbow
neck
cough
fever
stomachache
safety first
helmet
near
knife
Console.WriteLine
Console.WriteLine("********");
hear听见
cry 哭
What's wrong with you? 你怎么了?
hurt疼痛
knee膝盖
hand手
move移动
elbow肘
neck脖子
cough咳嗽
fever发烧
stomachache胃疼
safety first 安全第一
helmet头盔
near靠近
knife小刀
从今天开始
a+b
c=4
7
16
16
12
OK
wo
计算平均年龄题目