title: Is there a difference between DataTable.Clear and DataTable.Rows.Clear?
body: <p>I recall there is a difference between some methods/properties called directly on the <a href="http://msdn.microsoft.com/en-us/library/system.data.datatable(VS.71).aspx" rel="noreferrer">DataTable</a> class, and the identically named methods/properties on the <a href="http://msdn.microsoft.com/en-us/library/system.data.datatable.rows(VS.71).aspx" rel="noreferrer">DataTable.Rows</a> property. (Might have been the RowCount/Count property for which I read this.) The difference is one of them disregards <a href="http://msdn.microsoft.com/en-us/library/system.data.datarow.rowstate(VS.71).aspx" rel="noreferrer">DataRow.RowState</a>, and the other respects/uses it.</p>
  
  <p>In this particular case I'm wondering about the difference between <a href="http://msdn.microsoft.com/en-us/library/system.data.datatable.clear(VS.71).aspx" rel="noreferrer">DataTable.Clear</a> and <a href="http://msdn.microsoft.com/en-us/library/system.data.datarowcollection.clear(VS.71).aspx" rel="noreferrer">DataTable.Rows.Clear</a>. I can imagine one of them actually removes all rows, and the other one just marks them as deleted.</p>
  
  <p>So my question is, <strong>is there a difference between the two Clear methods, and if so what is the difference?</strong></p>
  
  <p>(Oh, this is for .NET 1.1 btw, in case the semantics changed from one version to another.)</p>