|
using System;
using System.Threading;
class Service
{
public static int Main(string[] args)
{
Service s = new Service();
s.DoWork(args);
return 0;
}
private void DoWork(string[] args)
{
while(true)
{
System.Diagnostics.Debug.WriteLine("ServiceTest: " + DateTime.Now.Ticks.ToString());
Thread.Sleep(5000);
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Got my first computer in the 90's and loved it even though it sounded like a coffeemaker.
Now getting paid for designing cool applications, and drinks the coffee instead of listening to it being made.