using System;
using System.Threading;namespace winUI
{

public class Class_toming
{
static void Main(string[] args)
{
Thread.CurrentThread.Name="主线程";
Thread objThread =new Thread(new ThreadStart(ActionMethod));
objThread.Name="子线程";

objThread.Start(); ActionMethod();
}
static void ActionMethod()
{
for(int count=1;count<=10;count++)
{
Console.WriteLine("线程名:"+Thread.CurrentThread.Name);
}
} }
}_________________________________________________________________________________
为什么啊,我在怎么搞也找不出错误啊,
他也不弹出错误,也不运行,不知道在搞什么,
这么一个简单的程序我都搞成这样,我真的自卑啊,快点来个高手帮我看下了