我来个NB点的如果你CPU是3.0的话,num=3;2.0的话num=2int num=3;while(true){for(int count=0;count=10;count++){�0�2 �0�2 �0�2for(int i=0;i
using System;
using System.Threading;
public class test {
static void Main()
{
Timer t = new Timer( new TimerCallback(tick), null, 0, 1000 );
Console.ReadLine();
}
static void tick( object o )
{
Console.Write( "X" );
}
}
class Program
{
public static int a = 1;
static void Main(string[] args)
{
//循环
while(a > 0)
{
Console.Write("字 ");
//线程睡1秒
System.Threading.Thread.Sleep(1000);
}
}
}
来个简便一点的