📜  C# 1 分钟延迟 - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:19.810000             🧑  作者: Mango

代码示例1
DateTime now = DateTime.Now;
while (DateTime.Now.Subtract(now).Seconds < 60)
{
        // wait for 60 seconds
}
// 60 seconds passed, continue