using System;
using System.Threading;
namespace Sample {
class Demo {
static void Main(string[] args) {
for (int i = 0; i < 10; i++) {
Console.WriteLine("Sleep for 1 second!");
Thread.Sleep(1000);
}
Console.ReadLine();
}
}
}
【说明】:本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!