using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
Thread ss = new Thread(timerCD_Tick);
ss.Start();
}
private static void timerCD_Tick()
{
while (true)
{
Console.Write(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"));
Thread.Sleep(1000);
for (int i = 0; i < 19; i++)
{
Console.Write('\b');
}
}
}
}
}
原文地址:http://www.cnblogs.com/xinloveminnie/archive/2009/08/02/1536968.html