private static void SingletonEagerAccess2() { SingletonEagerLoding instance2 = SingletonEagerLoding.GetInstance; instance2.PrintMessage("Instance 2"); }
private static void SingletonEagerAccess1() { SingletonEagerLoding instance1 = SingletonEagerLoding.GetInstance; instance1.PrintMessage("Instance 1"); }