Domanda

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

#include <thread>

std::this_thread::sleep_for(std::chrono::milliseconds(60*100));
È stato utile?

Soluzione

System::Threading::Thread::Sleep(n);
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top