예제 #1
0
 static void Main(string[] args)
 {
     Chapter1Problems.GetInstance().RunProblems();
     Chapter2Problems.GetInstance().RunProblems();
     Chapter3Problems.GetInstance().RunProblems();
     OtherProblems.GetInstance().RunProblems();
 }
        public static Chapter3Problems GetInstance()
        {
            if (instance == null)
            {
                instance = new Chapter3Problems();
            }

            return(instance);
        }