title: How to use .ToDictionary() extension method on DataRow
body: <p>I need a <code>Dictionary&lt;string,object&gt;</code> which is produced from a DataRow.  I currently have something for this working, but I am doing way too much and not utilizing the .ToDictionary() extension method.  </p>
  
  <p>Can someone please enlighten me on how to accomplish this successfully?  </p>
  
  <p>Here is my failed attempt:</p>
  
  <pre><code>var dataDictionary = dataTable.Select(acn + "=" + accountNumber).ToDictionary(key =&gt; key.Table.Columns);
  </code></pre>
  
  <p>This returns a <code>KeyValuePair&lt;DataColumnCollection, DataRow&gt;</code>, but again, I need a <code>Dictionary&lt;string,object&gt;</code></p>
  
  <p>Thanks again in advance!</p>