public static SharedObjectsSingleton Instance()
        {
            // Uses lazy initialization.
            // Note: this is not thread safe.
            if (_singleton == null)
            {
                _singleton = new SharedObjectsSingleton();
            }

            return(_singleton);
        }
        public static SharedObjectsSingleton Instance()
        {
            // Uses lazy initialization.
            // Note: this is not thread safe.
            if (_singleton == null)
            {
                _singleton = new SharedObjectsSingleton();
            }

            return _singleton;
        }