本帖最后由 申延超 于 2012-7-14 10:54 编辑
string name;
name = "张三";
int age;
age = 28;
decimal money;
money = 7600.33m;
Console.Write("我叫" + name + ",今天" + age + "了,我的工资是" + money + "元。");
int nianLing;
nianLing = 18;
nianLing = 20;
Console.WriteLine(nianLing);
Console.ReadKey();
为什么输出之后下面的20没有另起一行? Console.WriteLine不是另起一行?
|