I am very new to C#, but am proficient in lua, and in lua, they had a wait() function. I would like to know what the equivalent is in C#. I\'ve already tried Thread.Sleep()