C# 学习随笔

C#中有什么语句可以起到system("pause")?

Console.Write("\r\nPress any key to continue....");
Console.ReadKey();

或者

using System.Threading;
Thread.Sleep(时间);如1秒
1000


posted @ 2011-09-08 19:44  芋头神  阅读(125)  评论(0编辑  收藏  举报