C#コンソールアプリでDoEventの代わり

Thread.Sleep(mls);