public void WriteAll(List<List<string>> dataGrid) { foreach (List<string> row in dataGrid) { this.WriteRow (row); } }