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