Question

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

#include <thread>

std::this_thread::sleep_for(std::chrono::milliseconds(60*100));
Était-ce utile?

La solution

System::Threading::Thread::Sleep(n);
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top