예제 #1
0
        public static HomeTheaterPro GetInstance()
        {
            if (instance == null)
            {
                instance = new HomeTheaterPro();
            }

            return instance;
        }
예제 #2
0
        public static HomeTheaterPro GetInstance()
        {
            if (instance == null)
            {
                instance = new HomeTheaterPro();
            }

            return(instance);
        }
예제 #3
0
 public static HomeTheaterPro GetInstance()
 {
     return instance ?? (instance = new HomeTheaterPro());
 }