private static void WritePuzzle(string filePath, SudokuPuzzle sp, bool writeHtml = true) { using (StreamWriter sr = new StreamWriter(filePath)) { sr.Write((writeHtml)?sp.ToHTMLString():sp.ToString()); } }
private static void WritePuzzle(string filePath, SudokuPuzzle sp, bool writeHtml = true) { using (StreamWriter sr = new StreamWriter(filePath)) { sr.Write((writeHtml)?sp.ToHTMLString():sp.ToString()); } }