1、代碼一:實(shí)現(xiàn)輸出一行字符串 目的:熟悉Console.WriteLine("你要顯示的內(nèi)容"); 熟悉:Console.ReadKey(); Console.ReadKey(); 1)、暫停當(dāng)前程序,等待用戶按下任意鍵繼續(xù),按下的任意鍵將顯示在我們的控制臺當(dāng)中 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _01_My_Frist_Demo { class Program { static void Main(string[] args) { Console.WriteLine("This is My First Demo"); Console.ReadKey(); } } } |
|