سؤال

How do I replace the following in a CLR project, please?

#include <thread>

std::this_thread::sleep_for(std::chrono::milliseconds(60*100));
هل كانت مفيدة؟

المحلول

System::Threading::Thread::Sleep(n);
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top