示例#1
0
        private void SaveSudokuUsingSeparator(int[,] sudoku, string separator, string filePath)
        {
            var sudokuToString = new SudokuPuzzle(sudoku).ToString();
            var sudokuToStringWithSeparator = sudokuToString.Replace(" ", separator);

            File.AppendAllText(filePath, sudokuToStringWithSeparator);
        }