public String toString() {StringBuilder sb = new StringBuilder("[ArrayPtg]\n");sb.append("nRows = ").append(getRowCount()).append("\n");sb.append("nCols = ").append(getColumnCount()).append("\n");if (_arrayValues == null) {sb.append("  #values#uninitialised#\n");} else {sb.append("  ").append(toFormulaString());}return sb.toString();}
public override String ToString(){StringBuilder buffer = new StringBuilder("[ArrayPtg]\n");buffer.Append("columns = ").Append(ColumnCount).Append("\n");buffer.Append("rows = ").Append(RowCount).Append("\n");for (int x = 0; x < ColumnCount; x++){for (int y = 0; y < RowCount; y++){Object o = _arrayValues.GetValue(GetValueIndex(x, y));buffer.Append("[").Append(x).Append("][").Append(y).Append("] = ").Append(o).Append("\n");}}return buffer.ToString();}