现在的位置: 首页 > 综合 > 正文

笔试题系列之三

2011年03月18日 ⁄ 综合 ⁄ 共 251字 ⁄ 字号 评论关闭
请指出下面代码的运行结果,
老规矩,不许用编译器
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);
    }
  }
}


更多笔试题

抱歉!评论已关闭.