public static void CreateInstance() { if (instance == null) { instance = new FactoryMaster(); } }
public static FactoryMaster Instance() { if (singleton == null) { singleton = new FactoryMaster(); } return(singleton); }