private bool Completed() { if (Cache.SimpleCode.Count >= 8) { if (!printedSimpleValidation) { ConsoleController.PrintCache(Cache.SimpleCode); printedSimpleValidation = true; } } if (Cache.ExtensiveCode.Count == 8 && !printedExtensiveValidation) { ConsoleController.PrintCache(Cache.ExtensiveCode); printedExtensiveValidation = true; } return(printedExtensiveValidation && printedSimpleValidation ? true : false); }
static void Main(string[] args) { ConsoleController.Init(); }