title: Remove columns from datatable
body: <p>I have a datatable with 20 columns. But i don't need all the columns for the current processing except 5. So i did the below to remove the columns</p>
  
  <pre><code>List&lt;string&gt; clmnames = new List&lt;string&gt;() { "clm6","clm7"..."clm20" };
  foreach (string dcName in clmnames)
  {
    TestAndRemoveColumn(dcName, ds.Tables["TestTable"]);
  }
  
  
   private void TestAndRemoveColumn(string dcName,DataTable datatable)
   {
         DataColumnCollection dcCollection = datatable.Columns;
         if (dcCollection.Contains(dcName))
         {
             dcCollection.Remove(dcName);
         }
   }
  </code></pre>
  
  <p>Instead of looping through the 15 times is there any other way to achieve using easily ?</p>