Author Topic: C# - Sleep function to wait?  (Read 952 times)

administrator

  • Administrator
  • Full Member
  • *****
  • Posts: 69
C# - Sleep function to wait?
« on: October 24, 2011, 12:40:52 pm »
We can use the Thread.Sleep method defined in the namespace System.Threading.


System.Threading.Thread.Sleep(1000); // 1000 milliseconds wait time.


 


Disclaimer: This web site is for educational and informational purposes only. Click here to read the Disclaimer.
Content copyright 2010-2014. Kathiresan. All rights reserved.
This page is using SMF version 2.0.1