2 // System.Data.DataTableCollection.cs
5 // Christopher Podurgiel (cpodurgiel@msn.com)
15 /// Represents the collection of tables for the DataSet.
17 public class DataTableCollection : InternalDataCollectionBase
19 private DataTable[] tables = null;
22 public virtual DataTable Add () {
29 // IsReadOnly and IsSynchronized must be implemented or
30 // is it safe to use InternalDataCollectionBase's
32 public DataTable this[int index] {
40 public DataTable this[string name] {
42 for (int i = 0; i < size; i++) {
43 if (tables[i].TableName == name)