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

 

System.Threading.Thread.Sleep(2000);

其中2000为毫秒

即延时2000毫秒

 

MSDN:

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

相关文章:

  • 2022-12-23
  • 2021-12-19
  • 2022-12-23
  • 2021-06-04
  • 2022-12-23
  • 2021-10-04
  • 2022-12-23
猜你喜欢
  • 2021-11-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-09
  • 2022-01-20
  • 2021-12-29
  • 2022-12-23
相关资源
相似解决方案