All pastes #49552 Raw Edit

Unnamed

public text v1 · immutable
#49552 ·published 2006-04-17 01:51 UTC
rendered paste body
class X {
        static X my = new X ();
        static public X My { get { Console.WriteLine ("2"); return my; } }
}

class Do {
 public static void Stuff ()
        {
                Console.WriteLine ("1");
        }
}
class J {
static void Main ()
{
        Do.Stuff ();
        object a = X.My;
}}