请指出下面代码的运行结果,
老规矩,不许用编译器
using System;
namespace param
{
class Class1
{
[STAThread]
static void Main(string[] args)
{
Console.WriteLine(new Class1());
}
public override string ToString()
{
return string.Format("my name is {0}",this);
}
}
}
更多笔试题
转载于:https://www.cnblogs.com/jjstar/archive/2004/09/30/48102.html