title: Safely Removing DataRow In ForEach
body: <p>I don't understand why this code does not work.</p>
  
  <pre><code>foreach (DataRow dataRow in dataTable.Rows)
  {
      if (true)
      {
          dataRow.Delete();
      }
  }
  </code></pre>