Welcome

首页 / 软件开发 / C# / [叩响C#之门]第2章 变量  2.4 变量的格式化输出

[叩响C#之门]第2章 变量  2.4 变量的格式化输出2012-10-20 博客园 寒飞雨请猜测下列语句的结果。

string mySentence = "Harvard is a world-famous university ";
mySentence = mySentence + "where I got my Doctor"s degree.";
Console.WriteLine(mySentence);

运行结果如图2-39所示,和你猜想的一样吗?