of     1   

Born2Script
#141128195Tuesday, July 22, 2014 3:07 AM GMT

Can I ask a question about C#? The best way to guarantee a loss is to quit - Morgan Freeman
blox6137
#141128234Tuesday, July 22, 2014 3:07 AM GMT

Sure.
L0cky2013
#141128290Tuesday, July 22, 2014 3:08 AM GMT

Sure.
UncleTaz
#141128331Tuesday, July 22, 2014 3:08 AM GMT

Sure.
Born2Script
#141128385Tuesday, July 22, 2014 3:09 AM GMT

Umm ok... I've been using C# for a while but stupidly enough.. I don't know how to make make a program wait for 5 seconds. In Lua: wait(5) -- easy The best way to guarantee a loss is to quit - Morgan Freeman
blox6137
#141128656Tuesday, July 22, 2014 3:11 AM GMT

I believe this is C#'s wait method or whatever: Thread.Sleep(1000); the number is in milliseconds, so keep that in mind.
Born2Script
#141128864Tuesday, July 22, 2014 3:13 AM GMT

That will make the program stop responding for 5 seconds :/. The best way to guarantee a loss is to quit - Morgan Freeman
blox6137
#141128927Tuesday, July 22, 2014 3:14 AM GMT

So if you wanted it to wait for 5 seconds, it would be: Thread.Sleep(5000); I don't 100% know though, as I hate C 'based' languages. Languages such as, C, C# Objective C, and C++.
Born2Script
#141129137Tuesday, July 22, 2014 3:16 AM GMT

yeah.. but that will make the whole program stop.. (stop responding) The best way to guarantee a loss is to quit - Morgan Freeman
blox6137
#141129268Tuesday, July 22, 2014 3:17 AM GMT

Yeah, I don't really know then. Like I said, hate C 'based' languages.
Vuva
#141129462Tuesday, July 22, 2014 3:19 AM GMT

I'm not sure of the technicality of it but it's because all of your code is executing under a single thread. Well, that's my guess anyways.
methino
#141130611Tuesday, July 22, 2014 3:32 AM GMT

DateTime Tthen = DateTime.Now; do { //derp } while (Tthen.AddSeconds(5) > DateTime.Now); //5 seconds
BobertKalinak
#141136572Tuesday, July 22, 2014 4:43 AM GMT

You can ask, but you'd probably get more answers on Stack Exchange.

    of     1