static void Main(string[] args)
{
new Thread(CountMethod)
{
IsBackground = true
}.Start("ss");
}
private static void CountMethod(string s) //这里要object
{
throw new NotImplementedException();
}
原因方法接收的形参只能是object类型,把方法CountMethod里的参数改为object就行