I'm trying to figure out where DataRowCollection.Add(DataRow row) inserts the new row into its datatable. Is it at the end of the table, like an append? Is it random? 

Also, I want to use this while I'm for looping through a datatable. If some condition exists, add a new row containing different data to run through the For loop to the end of the datatable. Are there any specific problems with this approach? How else might I handle it?

EDIT: I am For Looping through a .Net DataTABLE stored in memory. I'm not touching the dataBASE where the original data is stored during this looping operation. The DataTABLE is populated prior to the loop and is not a problem.

Here is relavant code:

```
 DataTable machineANDlastDate = new DataTable();
//Populate machineANDlastDate  

for (int i = 0; i < machineANDlastDate.Rows.Count; i++)
{
   lastFutureDate = DateTime.Parse(machineANDlastDate.Rows[i]["MaxDueDate"].ToString());
   newDateTime = lastFutureDate.AddDays(frequency);    //This is where the new date is created.
   machineSerial = machineANDlastDate.Rows[i]["machineSerial"].ToString();

   if (newDateTime < DateTime.Now)
   {
          machineANDlastDate.Rows.Add(new String[] { machineSerial,         newDateTime.AddDays(frequency).ToString() });

          continue;
   } 
  ...Removed for irrelevancy...
}

```

Is this a valid way to add a row to the end of the datatable?