檢閱解決方案

已完成

下列程式碼是先前單元中挑戰的其中一個可能解決方案。

Console.WriteLine("This is the first line.");

Console.Write("This is ");
Console.Write("the second ");
Console.Write("line.");

此程式碼只是實現相同結果的多種可能方法中的一個可能的解決方案。 不過,您應該已使用過 Console.WriteLine()Console.Write(String) 方法來產生想要的輸出。

This is the first line.
This is the second line.

如果成功,恭喜您! 繼續進行下一個單元以進行知識檢定。

重要

如果您無法順利完成此挑戰,請先檢閱前面的幾個單元再繼續。