private string ToLine(int nrow) { string result = string.Empty; for (int j = 0; j < this.ncols; j++) { char ch = this.cells[nrow, j]; if (ch == 0) result += '*'; else result += ch; } return result; }