摘要:
今天在学习C#的格式字符串,教程有如下代码 double d= 13.45; int i = 45; Console.Write("The double is {0} and the int contains {1}",d,i); 我是学asp.net,B/S模式下在类中使用了该代码没用报错,但是页面上并不能输出相应的字符。我知道在页面要输出字符串的话要用Response.Write(),那么是不是把Console.Write("The double is {0} and the int contains {1}",d,i); ... 阅读全文