title: Find longest string in Datatable column
body: <p>I would like to know If It's possible to create a "one-line" Linq to retrieve longest string value of specific Datatable column, meaning that all column data (numbers, dates,strings...) should be converted to string and then return longest string.</p>
  
  <p>What I've found is only how to obtain longest string from a List, or max length value.</p>
  
  <p>This is what I tried so far (error in Length):</p>
  
  <pre><code>string maxString = dt
    .AsEnumerable()
    .Select(row =&gt; row[mycolumn].ToString())
    .Where(s =&gt; s.OrderByDescending(st =&gt; st.Length).First());
  </code></pre>