using System;
class A
{
public static int X;
public A()
{
X += B.Y + 2;
}
static A()
{
X = B.Y + 2;
}
}
class B
{
public static int Y;
static B()
{
Y = A.X + 3;
}
static void Main()
{
Console.Write("X1={0},", A.X);
A obj = new A();
Console.WriteLine("X2={0}", A.X);
Console.Read();
}
}
class A
{
public static int X;
public A()
{
X += B.Y + 2;
}
static A()
{
X = B.Y + 2;
}
}
class B
{
public static int Y;
static B()
{
Y = A.X + 3;
}
static void Main()
{
Console.Write("X1={0},", A.X);
A obj = new A();
Console.WriteLine("X2={0}", A.X);
Console.Read();
}
}