Write和WriteLine的区别是什么
string []shu=new string[]{"关羽","张飞","赵云","马超","黄忠"};
for(int i=0;i<shu.Length;i++)
Console.Write(shu[i]+",");// Console.WriteLine(shu[i]+",")输出的为什么是换行的
string []shu=new string[]{"关羽","张飞","赵云","马超","黄忠"};
for(int i=0;i<shu.Length;i++)
Console.Write(shu[i]+",");// Console.WriteLine(shu[i]+",")输出的为什么是换行的
2015-12-24
举报