Querying DataColumnCollection with LINQ February 1, 2023 by Tarik How about: var x = from c in dt.Columns.Cast<DataColumn>() select c.ColumnName;