摘要: using System;namespace teststatic{ class class1 { static int i = getNum(); int j = getNum(); static int num = 1; static int getNum() { return num; } static void Main(string[] args) { Console.WriteLine("i={0}",i); Console.WriteLine("j={0}", new class1().j); Console.Read(); } }}上面的 阅读全文
posted @ 2010-03-24 10:58 踏歌长行 阅读(340) 评论(0) 推荐(0) 编辑