Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use sleep into a CLR project?

Tags:

clr

c++-cli

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

#include <thread>

std::this_thread::sleep_for(std::chrono::milliseconds(60*100));
like image 657
Tokip Avatar asked Oct 17 '25 10:10

Tokip


1 Answers

System::Threading::Thread::Sleep(n);
like image 66
rerun Avatar answered Oct 19 '25 12:10

rerun



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!