Esempio n. 1
0
        public static void RunSingleton()
        {
            Singleton testSingleton = Singleton.Instance;

            Console.WriteLine("Found a new Singleton with name " + testSingleton.Name);
            Console.WriteLine("Running Singleton:");
            testSingleton.Execute();
        }