Thursday, February 14, 2013

Guess the output of the following Code !!!

 
static void Main(string[] args)
{    Console.WriteLine("A.a={0}, B.b={1}", A.a, B.b);
}

class A
{   public static int a = B.b + 1;
}class B
{   public static int b = A.a + 1;
}

1 comment: