C# 中的延时的方法。

转载:https://blog.csdn.net/caixiexin/article/details/5769121

 

System.Threading.Thread.Sleep(2000);

其中2000为毫秒

即延时2000毫秒

 

MSDN:

将当前线程阻塞指定的毫秒数。

posted @ 2020-07-08 11:42  梅长苏枫笑  阅读(1386)  评论(0)    收藏  举报