using System.Collections.Generic;
public static void Main()
IQueryable<dynamic> queryResults = null;
IQueryable<Table> table = (new List<Table>{ new Table { column1 = "Table" } })
IQueryable<Chair> table2 = (new List<Chair>{ new Chair { column1 = "Chair" } })
queryResults = (from t1 in table
select new { column1 = t1.column1 });
queryResults = (from t2 in table2
select new { column1 = t2.column1 });
foreach (var item in queryResults)
Console.WriteLine(item.column1);
public string column1 { get; set; }
public string column1 { get; set; }