'sleep' in code playground (c#) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

'sleep' in code playground (c#)

Hi, I'm trying to write a string to the console, with a time-interval of 1 second. my problem is that the code playground outputs everything at the same time. looks like sololearn playground cannot handle sleep. https://code.sololearn.com/csuHoKgGAf3y/?ref=app does anybody know if this is possible? Note: I've also tried to accomplish using JavaScript in html, but this doesn't seem to work.

7th Oct 2017, 12:49 PM
ReneDaanen
2 Answers
+ 4
Doesn't work on SL code playground :-(
7th Oct 2017, 12:53 PM
Meharban Singh
Meharban Singh - avatar
+ 2
@Meherban Singh: Do you also know whether this is the case for JavaScript? (setTimeOut/setInterval)
7th Oct 2017, 1:27 PM
ReneDaanen