c# - How to add a delay for a 2 or 3 seconds -


मैं सी # में एक प्रोग्राम में विलंब कैसे जोड़ सकता हूँ?

आप थ्रेड.Sleep () function, उदा

  पूर्णांक मिलीसेकंड = 2000; Thread.Sleep (मिलीसेकेंड);   

जो वर्तमान धागा को 2 सेकंड के निष्पादन को रोक देता है।

वैसे भी, जो आपकी आवश्यकताओं को फिट नहीं कर सके ... क्या आप पूरा करने की कोशिश कर रहे हैं? < / P>

Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -