Esempio n. 1
0
        private static void Object2()
        {
            EagerInitialization obj2 = EagerInitialization.Instance;

            obj2.PrintMessage("From Object 2");
        }
Esempio n. 2
0
        private static void Object1()
        {
            EagerInitialization obj1 = EagerInitialization.Instance;

            obj1.PrintMessage("From Object 1");
        }