Using LINQ, how can I get the column names of a table? C# 3.0, 3.5 framework
In LinqPad:
TableNames.Take(1) works.
It is fast to type. (Although you in an ideal world, it would be nicer to not select any rows.)
Note it is the pluralized form of TableName. You can also do Take(0) and look at the SQL results tab.