As other mentionned, when car is used, its type must be known at the point of declaration.
The easiest way to fix you problem assuming that both lists returns same object type would be to write:
var results = condition ?
(from a in table_name select a).ToList() :
(from b in table_name select b).ToList();
Otherwise, if you want code similar to yours, then declare the variable type:
List<TableRowType> results;