コード例 #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
ファイル: HomeTheaterPro.cs プロジェクト: EBojilova/CSharpHQC
 public static HomeTheaterPro GetInstance()
 {
     return instance ?? (instance = new HomeTheaterPro());
 }