剛剛看MSDN的一個例子無意發現的小技巧,大家一看就明白了,不過好像蠻有用的,先記下咯,以后慢慢研究。
using System;namespace NewLine{  class Test  {    static void Main()    {      string s1 = "白日依山盡";      string s2 = "黃河入海流";      string s3 = "欲窮千里目";      string s4 = "更上一層樓";      Console.WriteLine("{0}{1}{0}{2}{0}{3}{0}{4}",Environment.NewLine,s1,s2,s3,s4);      Console.ReadKey();    }  }}新聞熱點
疑難解答