you can use from following code for create dynamic size of Data Table.
in this example you can get size of data table from user by console and create your DataTable and if user enter zero this while loop will be finished.
Console.Write("Please enter size of Data Table: ");
n = int.Parse(Console.ReadLine());
if (n == 0)
table = new DataTable[n];