private void PromptViewCards() { if (File.Exists(folder + tempFile)) { File.Delete(folder + tempFolder + tempFile); } PC.FormatWriteLine("Insert the codes to {0}", "view"); PC.WriteLine( "To create a range, use \"-\" between codes, use a \".\" at the end of codes to force not going down, and seperate groupings with a \",\""); List <CodeRange> codeRanges = CodeRange.Parse(ReadAnswer()); List <CatalogCode> cards = CardsInRange(codeRanges); if (cards.Count != 0) { foreach (CatalogCode catalogCode in cards) { PC.FormatWriteLine("{0}", catalog.Get(catalogCode).FileName); } Console.WriteLine(); GenerateCardView(cards); OpenFileProcess(folder + tempFolder + tempFile); } else { PC.WriteLine("No card exists."); } }