摘要:
先看个例子: 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); } } 执... 阅读全文
posted @ 2006-07-14 16:20 nini 阅读(1555) 评论(0) 推荐(0) 编辑