思维的乐趣

Enjoy it
posts - 84, comments - 52, trackbacks - 0, articles - 0
  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理

公告

08 2010 档案

摘要: namespace TestProjectG{ class Program {     int i = 0;     static void Main(string[] args)     {       Console.WriteLine(i);     }   }} 上面这段代码是有问题的,就是因为,如果下意识的把Main方法当作类Program(当然其它名字也一样,不过默认生成的是这个)的...阅读全文

posted @ 2010-08-21 19:52 szh114 阅读(770) | 评论 (2) 编辑 |