摘要: 先看个例子:using System;Class A{static int X;static A(){X = B.Y + 1;}}Class B{public static int Y = A.X + 1;static B() {}static void Main(){Console.WriteLine("X={0},Y={1}",A.X,B.Y); }}执行结果是X=1,Y=2这个例子主要考查2... 阅读全文
posted @ 2009-10-30 08:20 风也无奈 阅读(1058) 评论(0) 推荐(0) 编辑
dafad