System.Data.DataTable.DataTable C# (CSharp) Method

DataTable() public method

Initializes a new instance of the class with no arguments.
public DataTable ( ) : System.Collections
return System.Collections
        public DataTable()
        {
            GC.SuppressFinalize(this);
            DataCommonEventSource.Log.Trace("<ds.DataTable.DataTable|API> {0}", ObjectID);
            _nextRowID = 1;
            _recordManager = new RecordManager(this);

            _culture = CultureInfo.CurrentCulture;
            _columnCollection = new DataColumnCollection(this);
            _constraintCollection = new ConstraintCollection(this);
            _rowCollection = new DataRowCollection(this);
            _indexes = new List<Index>();

            _rowBuilder = new DataRowBuilder(this, -1);
        }

Same methods

DataTable::DataTable ( SerializationInfo info, StreamingContext context ) : System.Collections
DataTable::DataTable ( string tableName ) : System.Collections
DataTable::DataTable ( string tableName, string tableNamespace ) : System.Collections
DataTable