using System.Collections;
using System.Collections.Generic;
using System.Data.DataSetExtensions;
public static void Main()
DataTable dataTable = new DataTable();
dataTable.Columns.Add("ID");
dataTable.Columns.Add("Name");
dataTable.Rows.Add("1", "Mark");
dataTable.Rows.Add("2", "Spencer");
dataTable.Rows.Add("3", "Ryan");
var firstRow = dataTable.Rows[0];
dataTable.ImportRow(firstRow);